mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
MINOR fixed JS bug around subsites tree dropdown
MINOR improved test coverage considerably (from r86478)
This commit is contained in:
parent
298d9a71cc
commit
10a81655c7
@ -1,17 +0,0 @@
|
||||
Behaviour.register({
|
||||
'#CopyContentFromID_SubsiteID select' : {
|
||||
initialize: function() {
|
||||
var treeField = $('TreeDropdownField_Form_EditForm_CopyContentFromID');
|
||||
if(!treeField) return false;
|
||||
|
||||
treeField.subsiteID = this.value;
|
||||
},
|
||||
onchange: function() {
|
||||
var treeField = $('TreeDropdownField_Form_EditForm_CopyContentFromID');
|
||||
if(!treeField) return false;
|
||||
|
||||
treeField.subsiteID = this.value;
|
||||
treeField.refresh();
|
||||
}
|
||||
}
|
||||
});
|
@ -3,7 +3,7 @@
|
||||
global $lang;
|
||||
|
||||
$lang['en_US']['SubsiteAdmin']['MENUTITLE'] = array(
|
||||
'Subsites',
|
||||
'Subsite',
|
||||
100,
|
||||
'Menu title'
|
||||
);
|
||||
@ -27,6 +27,17 @@ $lang['en_US']['RelatedPageLink']['SINGULARNAME'] = array(
|
||||
);
|
||||
$lang['en_US']['Subsite']['MANAGE_ASSETS'] = 'Manage assets for subsites';
|
||||
$lang['en_US']['Subsite']['MANAGE_ASSETS_HELP'] = 'Ability to select the subsite to which an asset folder belongs. Requires "Access to Files & Images."';
|
||||
$lang['en_US']['ModelAdmin']['LOADEDFOREDITING'] = 'Loaded \'%s\' for editing.';
|
||||
$lang['en_US']['RelatedPageLink']['PLURALNAME'] = array(
|
||||
'Related Page Links',
|
||||
50,
|
||||
'Pural name of the object, used in dropdowns and to generally identify a collection of this object in the interface'
|
||||
);
|
||||
$lang['en_US']['RelatedPageLink']['SINGULARNAME'] = array(
|
||||
'Related Page Link',
|
||||
50,
|
||||
'Singular name of the object, used in dropdowns and to generally identify a single object in the interface'
|
||||
);
|
||||
$lang['en_US']['Subsite']['PLURALNAME'] = array(
|
||||
'Subsits',
|
||||
50,
|
||||
|
Loading…
x
Reference in New Issue
Block a user