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
|
* Add page action
|
||||||
*/
|
*/
|
||||||
addpage = Class.create();
|
addpageclass = Class.create();
|
||||||
addpage.applyTo('#addpage');
|
addpageclass.applyTo('#addpage');
|
||||||
addpage.prototype = {
|
addpageclass.prototype = {
|
||||||
initialize: function () {
|
initialize: function () {
|
||||||
Observable.applyTo($(_HANDLER_FORMS[this.id]));
|
Observable.applyTo($(_HANDLER_FORMS[this.id]));
|
||||||
this.getElementsByTagName('button')[0].onclick = returnFalse;
|
this.getElementsByTagName('button')[0].onclick = returnFalse;
|
||||||
@ -100,9 +100,9 @@ addpage.prototype = {
|
|||||||
/**
|
/**
|
||||||
* Search button click action
|
* Search button click action
|
||||||
*/
|
*/
|
||||||
search = Class.create();
|
searchclass = Class.create();
|
||||||
search.applyTo('#search');
|
searchclass.applyTo('#search');
|
||||||
search.prototype = {
|
searchclass.prototype = {
|
||||||
initialize : function() {
|
initialize : function() {
|
||||||
Observable.applyTo($(_HANDLER_FORMS.search));
|
Observable.applyTo($(_HANDLER_FORMS.search));
|
||||||
},
|
},
|
||||||
@ -133,9 +133,9 @@ SiteTreeFilterAddCriteria.prototype = {
|
|||||||
/**
|
/**
|
||||||
* Batch Actions button click action
|
* Batch Actions button click action
|
||||||
*/
|
*/
|
||||||
batchactions = Class.create();
|
batchactionsclass = Class.create();
|
||||||
batchactions.applyTo('#batchactions');
|
batchactionsclass.applyTo('#batchactions');
|
||||||
batchactions.prototype = {
|
batchactionsclass.prototype = {
|
||||||
|
|
||||||
initialize : function() {
|
initialize : function() {
|
||||||
Observable.applyTo($(_HANDLER_FORMS.batchactions));
|
Observable.applyTo($(_HANDLER_FORMS.batchactions));
|
||||||
|
@ -3,8 +3,8 @@ var _TRANSLATING_LANG = null;
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
LangSelector = Class.create();
|
LangSelectorClass = Class.create();
|
||||||
LangSelector.prototype = {
|
LangSelectorClass.prototype = {
|
||||||
|
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
if(this.selectedIndex != 0) {
|
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.SAVED': "Saved",
|
||||||
'ModelAdmin.REALLYDELETE': "Do you really want to delete?",
|
'ModelAdmin.REALLYDELETE': "Do you really want to delete?",
|
||||||
'ModelAdmin.DELETED': "Deleted",
|
'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