changeset 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 f15c25fff9cc
children d7655e634c30
files mod_admin_web/admin_web/get_deps.sh mod_admin_web/admin_web/www_files/index.html mod_admin_web/admin_web/www_files/js/main.js
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mod_admin_web/admin_web/get_deps.sh	Mon May 27 16:54:10 2013 +0200
+++ b/mod_admin_web/admin_web/get_deps.sh	Mon May 27 16:55:04 2013 +0200
@@ -1,5 +1,5 @@
 #!/bin/sh
-JQUERY_VERSION="1.9.1"
+JQUERY_VERSION="1.10.0"
 STROPHE_VERSION="1.0.2"
 BOOTSTRAP_VERSION="1.4.0"
 ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513"
--- a/mod_admin_web/admin_web/www_files/index.html	Mon May 27 16:54:10 2013 +0200
+++ b/mod_admin_web/admin_web/www_files/index.html	Mon May 27 16:55:04 2013 +0200
@@ -7,7 +7,7 @@
 <link rel="stylesheet" type="text/css" href="css/bootstrap-1.4.0.min.css" />
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
-<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
+<script type="text/javascript" src="js/jquery-1.10.0.min.js"></script>
 <script type="text/javascript" src="js/strophe.min.js"></script>
 <script type="text/javascript" src="js/adhoc.js"></script>
 <script type="text/javascript" src="js/main.js"></script>
--- 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})