Permalink
Browse files

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
  • Loading branch information...
1 parent 38e1030 commit 5b80a0c1d1ace1ce44ef74070b7d58f74ac899aa @sminnee sminnee committed Nov 13, 2008
Showing with 13 additions and 13 deletions.
  1. +9 −9 javascript/CMSMain_left.js
  2. +3 −3 javascript/LangSelector.js
  3. +1 −1 javascript/lang/en_US.js
@@ -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."
});
}

0 comments on commit 5b80a0c

Please sign in to comment.