bug fix for close tab regression
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Oct 2010 20:13:03 +0000 (20:13 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 5 Oct 2010 20:13:03 +0000 (20:13 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18184 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/main/menu.js

index 4034662..a4aa386 100644 (file)
@@ -1339,6 +1339,7 @@ main.menu.prototype = {
     },
 
     'new_tab' : function(url,params,content_params) {
+        var obj = this;
         var max_tabs = 0;
         try {
             var max_tabs = xulG.pref.getIntPref('open-ils.window_max_tabs', max_tabs);