Author: jmorliaguet
Date: Sat Jun  3 16:06:03 2006
New Revision: 3295

Modified:
   cpsskins/branches/paris-sprint-2006/ui/screens/common/authoring.js
   cpsskins/branches/paris-sprint-2006/ui/screens/definitions.py

Log:

- UI updates



Modified: cpsskins/branches/paris-sprint-2006/ui/screens/common/authoring.js
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/screens/common/authoring.js  
(original)
+++ cpsskins/branches/paris-sprint-2006/ui/screens/common/authoring.js  Sat Jun 
 3 16:06:03 2006
@@ -8,7 +8,9 @@
 function insertPortlet(info) {
   var url = '@@insertElement';
   var id = info.target.getAttribute('id');
-  var data = CPSSkins.getModelById('m' + id).getData();
+  var model = CPSSkins.getModelById('m' + id)
+  if (!model) return;
+  var data = model.getData();
   var order = data.container ? 0 : data.order;
   var args = {
     id: id,

Modified: cpsskins/branches/paris-sprint-2006/ui/screens/definitions.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/screens/definitions.py       
(original)
+++ cpsskins/branches/paris-sprint-2006/ui/screens/definitions.py       Sat Jun 
 3 16:06:03 2006
@@ -560,9 +560,6 @@
                 'background': '#fc0',
                 'border': '#000',
             },
-            'zoomback': {
-                'duration': 300,
-            },
         },
         'dropping': {
             'target': 'portletTarget',
@@ -592,9 +589,6 @@
         },
         'dropping': {
             'action': 'move element',
-            'zoomto': {
-                'duration': 200,
-            }
         },
     },
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to