You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@warble.apache.org by hu...@apache.org on 2018/06/27 00:07:21 UTC

[incubator-warble-server] 01/02: set initial value of text box to current location

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-warble-server.git

commit a4736fbb849c67a9b499a7ce13ae6b0c32134858
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jun 26 19:07:10 2018 -0500

    set initial value of text box to current location
---
 ui/js/coffee/warble_clientlist.coffee | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/js/coffee/warble_clientlist.coffee b/ui/js/coffee/warble_clientlist.coffee
index 4119d0c..bb558a3 100644
--- a/ui/js/coffee/warble_clientlist.coffee
+++ b/ui/js/coffee/warble_clientlist.coffee
@@ -54,6 +54,7 @@ nodeLocation = (id, obj) ->
         loc = obj.innerText
         obj.innerHTML = ""
         ip = mk('input', {data: loc, id: "tnodeloc_#{id}", type: 'text', onkeydown: "saveNodeLocation(#{id}, this, event);"})
+        ip.value = loc
         app(obj, ip)
         ip.focus()
     


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@warble.apache.org
For additional commands, e-mail: commits-help@warble.apache.org