Changeset:
        9b3d1f4083d5
        
https://sourceforge.net/p/mrbs/hg-code/ci/9b3d1f4083d5f80cb0e7eeeb18f6fc84e03ad4f2
Author:
        Campbell Morrison <[email protected]>
Date:
        Mon Oct 03 17:30:09 2016 +0100
Log message:

Eliminated use of deprecated jQuery.fn.load()

diffstat:

 web/js/refresh.js.php   |  2 +-
 web/js/resizable.js.php |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 095936af1e05 -r 9b3d1f4083d5 web/js/refresh.js.php
--- a/web/js/refresh.js.php     Mon Oct 03 17:21:55 2016 +0100
+++ b/web/js/refresh.js.php     Mon Oct 03 17:30:09 2016 +0100
@@ -125,7 +125,7 @@
     // whole window.   For example if we've got the datepicker open we don't 
want that
     // to be reset.
     ?>
-    $('table.dwm_main').load(function() {
+    $('table.dwm_main').on('load', function() {
         <?php
         // Set an interval timer to refresh the page, unless there's already 
one in place
         ?>
diff -r 095936af1e05 -r 9b3d1f4083d5 web/js/resizable.js.php
--- a/web/js/resizable.js.php   Mon Oct 03 17:21:55 2016 +0100
+++ b/web/js/resizable.js.php   Mon Oct 03 17:30:09 2016 +0100
@@ -583,7 +583,7 @@
       // the window causes other things to be re-initialised, which we don't 
want.   For example
       // if we have the datepicker open we don't want that to be reset.
       ?>
-      $('table.dwm_main').load(function() {
+      $('table.dwm_main').on('load', function() {
           var table = $(this);
           
           createFloatingHeaders(table);

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to