Mercurial > prosody-modules
diff mod_admin_web/admin_web/www_files/js/main.js @ 1023:83f56d3a07f5
mod_admin_web: Update to JQuery 1.10.0
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Mon, 27 May 2013 16:55:04 +0200 |
parents | 9839198539c8 |
children | d643c385d3f6 |
line wrap: on
line diff
--- a/mod_admin_web/admin_web/www_files/js/main.js Mon May 27 16:54:10 2013 +0200 +++ b/mod_admin_web/admin_web/www_files/js/main.js Mon May 27 16:55:04 2013 +0200 @@ -176,7 +176,7 @@ $("#log").toggle(); }); - $('#cred').bind('submit', function (event) { + $('#cred').on('submit', function (event) { var button = $('#connect').get(0); var jid = $('#jid'); var pass = $('#pass'); @@ -199,7 +199,7 @@ $(tab).fadeIn('fast'); }); - $('#host').bind('change', function (event) { + $('#host').on('change', function (event) { connection.send($iq({to: adminsubHost, type: 'set', id: connection.getUniqueId()}).c('adminsub', {xmlns: Strophe.NS.ADMINSUB}) .c('unsubscribe', {node: Strophe.NS.C2SSTREAM})); connection.send($iq({to: adminsubHost, type: 'set', id: connection.getUniqueId()}).c('adminsub', {xmlns: Strophe.NS.ADMINSUB})