includes/clientside/static/enano-lib-basic.js
changeset 1046 cfc6c30c5e2d
parent 1034 15fa1b4e730a
child 1070 617366710de2
--- a/includes/clientside/static/enano-lib-basic.js	Wed Jul 08 18:53:45 2009 -0400
+++ b/includes/clientside/static/enano-lib-basic.js	Wed Jul 08 22:27:24 2009 -0400
@@ -592,7 +592,6 @@
   unselectAllButtonsMinor: 'toolbar.js',
   darken: 'fadefilter.js',
   enlighten: 'fadefilter.js',
-  autofill_onload: 'autofill.js',
   password_score: 'pwstrength.js',
   password_score_field: 'pwstrength.js',
   ajaxEditTheme: 'theme-manager.js',
@@ -601,7 +600,7 @@
   ajaxInitRankEdit: 'rank-manager.js',
   ajaxInitRankCreate: 'rank-manager.js',
   autofill_init_element: 'autofill.js',
-  autofill_onload: 'autofill.js',
+  autofill_init: 'autofill.js',
   paginator_goto: 'paginate.js'
 };
 
@@ -627,15 +626,16 @@
 {
   var file = placeholder_list[i];
   placeholder_instances[i] = new Placeholder(i, file);
-  window[i] = placeholder_instances[i].go;
+  window[i] = window[i] || placeholder_instances[i].go;
 }
 
-$lang = {
+$lang = window.$lang || {
   get: function(a, b)
   {
     load_component('l10n');
     return $lang.get(a, b);
-  }
+  },
+  placeholder: true
 }
 
 //*/