Author: jmorliaguet
Date: Mon Jan  2 16:20:05 2006
New Revision: 2118

Modified:
   
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
Log:

- we display the result of the action inside a page area inside of using
  an alert box



Modified: 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
==============================================================================
--- 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
  (original)
+++ 
cpsskins/branches/jmo-perspectives/ui/framework/tests/functional/cpsskins_contextualmenu_test.html
  Mon Jan  2 16:20:05 2006
@@ -89,8 +89,8 @@
   <!-- Controller -->
   <script type="text/javascript">
     function displayChoice(selected, choice) {
-      alert('You have clicked on "' + selected.getAttribute('id')
-            + '" and selected the "' + choice + '" menu item.');
+      $("message").innerHTML +=
+        "<li>" + selected.getAttribute('id') + ' => ' + choice + '</li>';
     }
 
     new CPSSkins.Controller('controller').register({
@@ -100,11 +100,11 @@
       'format': displayChoice,
       'delete': displayChoice,
       'size': displayChoice
-    });
+    })
 
   </script>
 
-  <div id="message"></div>
+  <ul id="message"></ul>
 
 </body>
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to