#341960 by sun: Clean up dependent.js javascript declarations which potentially cause...
authorEarl Miles
Tue, 7 Apr 2009 23:10:00 +0000 (23:10 +0000)
committerEarl Miles
Tue, 7 Apr 2009 23:10:00 +0000 (23:10 +0000)
CHANGELOG.txt
js/dependent.js

index fef28ac..640b833 100644 (file)
@@ -32,6 +32,7 @@ Views 2.4
     o #408414 by rb7: Prevent empty links with the "has new comments" field.
     o #406680 by BŁke Beyond: Missing clear-block caused problems in IE for Views UI.
     o #373771 by dropcube: Fix missing aggregator feed trying to use non-existing handlers.
+    o #341960 by sun: Clean up dependent.js javascript declarations which potentially caused .js errors.
 
   Other changes:
     o #375182 by vaish: Allow a reset parameter to views_get_all_views().
index ddf2fb6..25445fe 100644 (file)
  *   override it.
  */
 
-Drupal.Views.dependent = {};
+Drupal.Views = Drupal.Views || {};
 
-Drupal.Views.dependent.bindings = {};
-Drupal.Views.dependent.activeBindings = {};
-Drupal.Views.dependent.activeTriggers = [];
+Drupal.Views.dependent = { bindings: {}, activeBindings: {}, activeTriggers: [] };
 
 Drupal.Views.dependent.inArray = function(array, search_term) {
   var i = array.length;