[Checkins] SVN: GenericSetup/trunk/www/sutImportSteps.zpt Add some js magic to automatically update the page when a different profile is selected

Wichert Akkerman wichert at wiggy.net
Fri Jul 6 09:35:14 EDT 2007


Log message for revision 77503:
  Add some js magic to automatically update the page when a different profile is selected

Changed:
  U   GenericSetup/trunk/www/sutImportSteps.zpt

-=-
Modified: GenericSetup/trunk/www/sutImportSteps.zpt
===================================================================
--- GenericSetup/trunk/www/sutImportSteps.zpt	2007-07-06 13:27:42 UTC (rev 77502)
+++ GenericSetup/trunk/www/sutImportSteps.zpt	2007-07-06 13:35:13 UTC (rev 77503)
@@ -17,8 +17,9 @@
 
 <h3>Select Profile</h3>
 
-<form action="." method="POST">
-<select name="context_id">
+<form action="." method="POST" id="profileform" tal:attributes="action string:${context/absolute_url}/manage_importSteps">
+<select name="context_id"
+        onchange="document.getElementById('profileform').submit();">
  <option value=""
          tal:attributes="value base_context_id;
                          selected python:context_id==base_context_id">



More information about the Checkins mailing list