diff options
author | Jose <jose@zeroc.com> | 2014-12-23 16:30:10 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-12-23 16:30:10 +0100 |
commit | d04032f86a472d978a6c5c5097eb55f0bcc71c45 (patch) | |
tree | 5f7106f5620d7b53f72f73db7250c0db052daaff /js/demo/Ice/hello/browser/Client.js | |
parent | Fixed ICE-6226 - ConnectionI.message assertion from timeout test (diff) | |
download | ice-d04032f86a472d978a6c5c5097eb55f0bcc71c45.tar.bz2 ice-d04032f86a472d978a6c5c5097eb55f0bcc71c45.tar.xz ice-d04032f86a472d978a6c5c5097eb55f0bcc71c45.zip |
Fixed (ICE-6230) - JS hello demo assertion failure
Diffstat (limited to 'js/demo/Ice/hello/browser/Client.js')
-rw-r--r-- | js/demo/Ice/hello/browser/Client.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/js/demo/Ice/hello/browser/Client.js b/js/demo/Ice/hello/browser/Client.js index 06206028d33..70ec0ee15e4 100644 --- a/js/demo/Ice/hello/browser/Client.js +++ b/js/demo/Ice/hello/browser/Client.js @@ -156,7 +156,14 @@ function setState(newState, ex) } } - assert(state !== newState); + if(state === newState) + { + // + // This event was queued before the event handler has time + // to disable the button, just ignore it. + // + return; + } switch(newState) { |