Use correct jQuery variable

This commit is contained in:
Simon Welsh 2013-07-11 17:31:59 +12:00
parent b49c86bd0b
commit 9192954596
1 changed files with 2 additions and 2 deletions

View File

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