typos
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 4 Nov 2009 04:31:17 +0000 (04:31 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 4 Nov 2009 04:31:17 +0000 (04:31 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14762 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/list.js

index 5929027..9189827 100644 (file)
@@ -520,10 +520,10 @@ util.list.prototype = {
                     // Remove oldest row
                     //if (typeof params.to_bottom != 'undefined') 
                     if (typeof params.to_top == 'undefined') {
-                        if (typeof params.on_delete == 'function') { prams.on_delete( treechildren_node.firstChild.getAttribute('unique_row_counter') ); }
+                        if (typeof params.on_delete == 'function') { params.on_delete( treechildren_node.firstChild.getAttribute('unique_row_counter') ); }
                         treechildren_node.removeChild( treechildren_node.firstChild );
                     } else {
-                        if (typeof params.on_delete == 'function') { prams.on_delete( treechildren_node.lastChild.getAttribute('unique_row_counter') ); }
+                        if (typeof params.on_delete == 'function') { params.on_delete( treechildren_node.lastChild.getAttribute('unique_row_counter') ); }
                         treechildren_node.removeChild( treechildren_node.lastChild );
                     }
                 }