manifold: imprved plugin class with helpers for naming HTML tags in plugins
[unfold.git] / manifold / js / manifold.js
index ef492f7..667ad34 100644 (file)
@@ -128,6 +128,8 @@ var manifold = {
      * Helper functions
      **************************************************************************/ 
 
+    separator: '__',
+
     spin_presets: {},
 
     spin: function(locator, active /*= true */) {
@@ -440,12 +442,6 @@ var manifold = {
                 // XXX When is an update query associated ?
                 // XXX main_update_query.select(value);
 
-                // We need to inform about changes in these queries to the respective plugins
-                // Note: query, main_query & update_query have the same UUID
-                manifold.raise_query_event(query_uuid, event_type, value);
-                // We are targeting the same object with get and update
-                // The notion of query is bad, we should have a notion of destination, and issue queries on the destination
-                // NOTE: Editing a subquery == editing a local view on the destination
                 break;
 
             case FIELD_REMOVED:
@@ -460,6 +456,13 @@ var manifold = {
                 manifold.raise_query_event(query_uuid, event_type, value);
                 break;
         }
+        // We need to inform about changes in these queries to the respective plugins
+        // Note: query, main_query & update_query have the same UUID
+        manifold.raise_query_event(query_uuid, event_type, value);
+        // We are targeting the same object with get and update
+        // The notion of query is bad, we should have a notion of destination, and issue queries on the destination
+        // NOTE: Editing a subquery == editing a local view on the destination
+
         // XXX We might need to run the new query again and manage the plugins in the meantime with spinners...
         // For the time being, we will collect all columns during the first query
     },