MINOR Fixed jQuery selector in TreeSelectorField.js to fit jQuery 1.4 syntax

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100850 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-03-11 02:29:24 +00:00 committed by Sam Minnee
parent c53e76e6bf
commit 4c0afc4923

View File

@ -189,7 +189,7 @@ TreeDropdownField.prototype = {
ajaxGetTree: function(after) {
var ajaxURL = this.buildURL('tree?forceValues=' + this.inputTag.value);
var secId = jQuery('[@name=SecurityID]');
var secId = jQuery(':input[name=SecurityID]');
ajaxURL += secId.length ? '&SecurityID=' + secId.val() : '';
if($('Form_EditForm_Locale')) ajaxURL += "&locale=" + $('Form_EditForm_Locale').value;
if(this.inputTag.value) ajaxURL += '&forceValue=' + this.inputTag.value;