[HippoCMS-svn] [20619] hippo-ecm: HREPTWO-3365: Make changes to the order directly visible

View: New views
1 Messages — Rating Filter:   Alert me  

[HippoCMS-svn] [20619] hippo-ecm: HREPTWO-3365: Make changes to the order directly visible

by dtaylor-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 20619
Author:   bvdschans
Date:     2009-11-10 16:16:21 +0100 (Tue, 10 Nov 2009)
Log Message:
-----------
HREPTWO-3365: Make changes to the order directly visible

Modified Paths:
--------------
    hippo-ecm/branches/Branch-HREPTWO-v2_06_xx/addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/field/NodeFieldPlugin.java

Modified: hippo-ecm/branches/Branch-HREPTWO-v2_06_xx/addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/field/NodeFieldPlugin.java
===================================================================
--- hippo-ecm/branches/Branch-HREPTWO-v2_06_xx/addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/field/NodeFieldPlugin.java 2009-11-10 14:47:32 UTC (rev 20618)
+++ hippo-ecm/branches/Branch-HREPTWO-v2_06_xx/addon/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/field/NodeFieldPlugin.java 2009-11-10 15:16:21 UTC (rev 20619)
@@ -155,6 +155,7 @@
             @Override
             public void onClick(AjaxRequestTarget target) {
                 onMoveItemUp(model, target);
+                updateProvider();
                 redraw();
             }
         };
@@ -178,6 +179,7 @@
                     JcrNodeModel nextModel = new JcrNodeModel(parent.getItemModel().getPath() + "/" + name + "["
                             + (index + 2) + "]");
                     onMoveItemUp(nextModel, target);
+                    updateProvider();
                     redraw();
                 }
             }

_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@...
http://lists.hippo.nl/mailman/listinfo/hippocms-svn