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 04:19:52 UTC

[incubator-warble-server] branch master updated (821f572 -> 1a44b4c)

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

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


    from 821f572  regen JS
     new ab2066d  cancel editing on blur
     new 1a44b4c  regen JS

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ui/js/coffee/warble_clientlist.coffee | 2 +-
 ui/js/warble.v1.js                    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)


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


[incubator-warble-server] 02/02: regen JS

Posted by hu...@apache.org.
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 1a44b4cdfc6d1412561348b64dc7b5edc9f69c01
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jun 26 23:19:46 2018 -0500

    regen JS
---
 ui/js/warble.v1.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui/js/warble.v1.js b/ui/js/warble.v1.js
index b302b43..a382b23 100644
--- a/ui/js/warble.v1.js
+++ b/ui/js/warble.v1.js
@@ -4651,7 +4651,8 @@ nodeLocation = function(id, obj) {
       data: loc,
       id: "tnodeloc_" + id,
       type: 'text',
-      onkeydown: "saveNodeLocation(" + id + ", this, event);"
+      onkeydown: "saveNodeLocation(" + id + ", this, event);",
+      onblur: "savedNodeLocation({}, {id: " + id + ", location: this.getAttribute('data')});"
     });
     ip.value = loc;
     app(obj, ip);


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


[incubator-warble-server] 01/02: cancel editing on blur

Posted by hu...@apache.org.
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 ab2066d78d73335bbd5717b7273a78e3db4c6125
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Tue Jun 26 23:19:42 2018 -0500

    cancel editing on blur
---
 ui/js/coffee/warble_clientlist.coffee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/js/coffee/warble_clientlist.coffee b/ui/js/coffee/warble_clientlist.coffee
index 5089814..3f65eed 100644
--- a/ui/js/coffee/warble_clientlist.coffee
+++ b/ui/js/coffee/warble_clientlist.coffee
@@ -54,7 +54,7 @@ nodeLocation = (id, obj) ->
     if not document.getElementById("tnodeloc_#{id}")
         loc = obj.innerText
         obj.innerHTML = ""
-        ip = new HTML('input', {style: { color: '#333', width: '320px', height: '24px', padding: '0px'}, data: loc, id: "tnodeloc_#{id}", type: 'text', onkeydown: "saveNodeLocation(#{id}, this, event);"})
+        ip = new HTML('input', {style: { color: '#333', width: '320px', height: '24px', padding: '0px'}, data: loc, id: "tnodeloc_#{id}", type: 'text', onkeydown: "saveNodeLocation(#{id}, this, event);", onblur: "savedNodeLocation({}, {id: #{id}, location: this.getAttribute('data')});"})
         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