Use correct jQuery variable

This commit is contained in:
Simon Welsh 2013-07-11 17:31:59 +12:00
parent b49c86bd0b
commit 9192954596

View File

@ -2,7 +2,7 @@
$.entwine('ss', function($) { $.entwine('ss', function($) {
$('.TreeDropdownField').entwine({ $('.TreeDropdownField').entwine({
subsiteID: function() { subsiteID: function() {
var subsiteSel = $$('#CopyContentFromID_SubsiteID select')[0]; var subsiteSel = $('#CopyContentFromID_SubsiteID select')[0];
if(!subsiteSel) return; if(!subsiteSel) return;
subsiteSel.onchange = (function() { subsiteSel.onchange = (function() {
@ -22,4 +22,4 @@
} }
}); });
}); });
})(jQuery); })(jQuery);