From 4648dcfa466ca366ea50178e6b3ab9d7e7568ba6 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sun, 4 Nov 2012 12:09:04 +0100 Subject: [PATCH] VCategories: Use correct variable. --- core/js/oc-vcategories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/oc-vcategories.js b/core/js/oc-vcategories.js index 53065933be..609703f2cc 100644 --- a/core/js/oc-vcategories.js +++ b/core/js/oc-vcategories.js @@ -17,7 +17,7 @@ var OCCategories= { } catch(e) { var setEnabled = function(d, enable) { if(enable) { - dlg.css('cursor', 'default').find('input,button:not(#category_addbutton)') + d.css('cursor', 'default').find('input,button:not(#category_addbutton)') .prop('disabled', false).css('cursor', 'default'); } else { d.css('cursor', 'wait').find('input,button:not(#category_addbutton)')