[open-ils-commits] r14888 - trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Nov 12 17:14:53 EST 2009


Author: phasefx
Date: 2009-11-12 17:14:48 -0500 (Thu, 12 Nov 2009)
New Revision: 14888

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
Log:
debug tweak

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js	2009-11-12 22:11:29 UTC (rev 14887)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js	2009-11-12 22:14:48 UTC (rev 14888)
@@ -88,7 +88,7 @@
                         var filename = location.pathname.split('/')[ location.pathname.split('/').length - 1 ];
                         var base_key = 'oils_persist_' + String(location.hostname + '_' + filename + '_' + target.getAttribute('id')).replace('/','_','g') + '_';
                         var attribute_list = target.getAttribute('oils_persist').split(' ');
-                        dump('persist_helper: <<< ' + target.nodeName + '.id = ' + target.id + '\t' + bk + '\n');
+                        dump('on_oils_persist: <<< ' + target.nodeName + '.id = ' + target.id + '\t' + bk + '\n');
                         for (var j = 0; j < attribute_list.length; j++) {
                             var key = base_key + attribute_list[j];
                             var value = target.getAttribute( attribute_list[j] );
@@ -107,7 +107,7 @@
                         if (target.hasAttribute('oils_persist_peers') && ! ev.cancelable) { // We abuse the .cancelable field on the oils_persist event to prevent looping
                             var peer_list = target.getAttribute('oils_persist_peers').split(' ');
                             for (var j = 0; j < peer_list.length; j++) {
-                                dump('persist_helper: dispatching oils_persist to peer ' + peer_list[j] + '\n');
+                                dump('on_oils_persist: dispatching oils_persist to peer ' + peer_list[j] + '\n');
                                 oils_persist( document.getElementById( peer_list[j] ), true );
                             } 
                         }



More information about the open-ils-commits mailing list