mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Fixes for IE support of script tags being down the bottom
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@65802 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
38e1030d11
commit
5b80a0c1d1
@ -9,9 +9,9 @@ _NEW_PAGES = new Array();
|
||||
/**
|
||||
* Add page action
|
||||
*/
|
||||
addpage = Class.create();
|
||||
addpage.applyTo('#addpage');
|
||||
addpage.prototype = {
|
||||
addpageclass = Class.create();
|
||||
addpageclass.applyTo('#addpage');
|
||||
addpageclass.prototype = {
|
||||
initialize: function () {
|
||||
Observable.applyTo($(_HANDLER_FORMS[this.id]));
|
||||
this.getElementsByTagName('button')[0].onclick = returnFalse;
|
||||
@ -100,9 +100,9 @@ addpage.prototype = {
|
||||
/**
|
||||
* Search button click action
|
||||
*/
|
||||
search = Class.create();
|
||||
search.applyTo('#search');
|
||||
search.prototype = {
|
||||
searchclass = Class.create();
|
||||
searchclass.applyTo('#search');
|
||||
searchclass.prototype = {
|
||||
initialize : function() {
|
||||
Observable.applyTo($(_HANDLER_FORMS.search));
|
||||
},
|
||||
@ -133,9 +133,9 @@ SiteTreeFilterAddCriteria.prototype = {
|
||||
/**
|
||||
* Batch Actions button click action
|
||||
*/
|
||||
batchactions = Class.create();
|
||||
batchactions.applyTo('#batchactions');
|
||||
batchactions.prototype = {
|
||||
batchactionsclass = Class.create();
|
||||
batchactionsclass.applyTo('#batchactions');
|
||||
batchactionsclass.prototype = {
|
||||
|
||||
initialize : function() {
|
||||
Observable.applyTo($(_HANDLER_FORMS.batchactions));
|
||||
|
@ -3,8 +3,8 @@ var _TRANSLATING_LANG = null;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
LangSelector = Class.create();
|
||||
LangSelector.prototype = {
|
||||
LangSelectorClass = Class.create();
|
||||
LangSelectorClass.prototype = {
|
||||
|
||||
initialize: function() {
|
||||
if(this.selectedIndex != 0) {
|
||||
@ -50,7 +50,7 @@ LangSelector.prototype = {
|
||||
}
|
||||
}
|
||||
};
|
||||
LangSelector.applyTo('#LangSelector');
|
||||
LangSelectorClass.applyTo('#LangSelector');
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -22,6 +22,6 @@ if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
|
||||
'ModelAdmin.SAVED': "Saved",
|
||||
'ModelAdmin.REALLYDELETE': "Do you really want to delete?",
|
||||
'ModelAdmin.DELETED': "Deleted",
|
||||
'LeftAndMain.PAGEWASDELETED': "This page was deleted. To edit a page, select it from the left.",
|
||||
'LeftAndMain.PAGEWASDELETED': "This page was deleted. To edit a page, select it from the left."
|
||||
});
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user