mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
MINOR Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@78119 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2ab097faee
commit
db09cdc420
@ -50,7 +50,7 @@ TreeAPI.prototype = {
|
||||
this.innerHTML = 'Loading...';
|
||||
|
||||
var args = {ajax:1, ID:0};
|
||||
if ($('Form_EditForm_Locale')) args.local = $('Form_EditForm_Locale').value;
|
||||
if ($('LangSelector')) args.locale = $('LangSelector').value;
|
||||
|
||||
url = this.url(args);
|
||||
|
||||
@ -219,7 +219,7 @@ TreeNodeAPI.prototype = {
|
||||
}
|
||||
|
||||
var args = {ajax:1, ID:this.getIdx()};
|
||||
if ($('Form_EditForm_Locale')) args.local = $('Form_EditForm_Locale').value;
|
||||
if ($('LangSelector')) args.locale = $('LangSelector').value;
|
||||
|
||||
url = this.tree.url(args);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user