mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
c53e76e6bf
commit
4c0afc4923
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user