[open-ils-commits] r12725 - trunk/Open-ILS/xul/staff_client/server/admin (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 31 00:21:00 EDT 2009
Author: dbs
Date: 2009-03-31 00:20:57 -0400 (Tue, 31 Mar 2009)
New Revision: 12725
Modified:
trunk/Open-ILS/xul/staff_client/server/admin/closed_dates.xhtml
Log:
Fix closed dates editor.
* XMLENT forces quirks mode, and tr/table needs an intervening td
* XMLENT likes its JavaScript inside double-quotes on onclick attributes
* Cookie.js was triggering 404 errors
Thanks to dchristens from IRC for reporting the problem and Jeff of TADL for finding the solution.
Modified: trunk/Open-ILS/xul/staff_client/server/admin/closed_dates.xhtml
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/closed_dates.xhtml 2009-03-30 22:51:15 UTC (rev 12724)
+++ trunk/Open-ILS/xul/staff_client/server/admin/closed_dates.xhtml 2009-03-31 04:20:57 UTC (rev 12725)
@@ -10,23 +10,21 @@
<head>
<title>&staff.server.admin.closed_dates.title;</title>
- <script language='javascript' src='/opac/common/js/utils.js'> </script>
- <script language='javascript' src='/opac/common/js//config.js'> </script>
- <script language='javascript' src='/opac/common/js/CGI.js'> </script>
- <script language='javascript' src='/opac/common/js/Cookie.js'> </script>
-
- <script language='javascript' src='/opac/common/js/JSON_v1.js'> </script>
- <script language='javascript' src='/opac/common/js/fmall.js'> </script>
- <script language='javascript' src='/opac/common/js/fmgen.js'> </script>
- <script language='javascript' src='/opac/common/js/Cookies.js'> </script>
- <script language='javascript' src='/opac/common/js/opac_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
- <script language='javascript' src='/opac/common/js/org_utils.js'> </script>
- <script language='javascript' src='/opac/common/js/init.js'> </script>
- <script language='javascript' src='/opac/common/js/RemoteRequest.js'> </script>
- <script language='javascript' src='/opac/common/js/Date.W3CDTF.js'> </script>
- <script language='javascript' src='adminlib.js'> </script>
- <script language='javascript' src='closed_dates.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/utils.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/config.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/CGI.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/JSON_v1.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/fmall.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/fmgen.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/Cookies.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/opac_utils.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/<!--#echo var="locale"-->/OrgTree.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/org_utils.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/init.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/RemoteRequest.js'> </script>
+ <script type='text/javascript' src='/opac/common/js/Date.W3CDTF.js'> </script>
+ <script type='text/javascript' src='adminlib.js'> </script>
+ <script type='text/javascript' src='closed_dates.js'> </script>
<link rel="stylesheet" type="text/css" media="all"
href="/opac/common/js/jscalendar/calendar-brown.css" title="win2k-cold-1" />
@@ -34,9 +32,6 @@
<script type="text/javascript" src="/opac/common/js/jscalendar/lang/calendar-en.js"></script>
<script type="text/javascript" src="/opac/common/js/jscalendar/calendar-setup.js"></script>
-
-
-
<link type='text/css' rel='stylesheet' href='admin.css'/>
<style type='text/css'>
@@ -110,11 +105,11 @@
<tr>
<td width='100%' align='center' style='border: 1px solid #F0E0F0;'>
<button id='cd_new_allday'
- onclick='cdShowEditRow("cd_edit_allday_row");'>&staff.server.admin.closed_dates.add.allday;</button>
+ onclick="cdShowEditRow('cd_edit_allday_row');">&staff.server.admin.closed_dates.add.allday;</button>
<button id='cd_new_multiday'
- onclick='cdShowEditRow("cd_edit_allmultiday_row");'>&staff.server.admin.closed_dates.add.multiday;</button>
+ onclick="cdShowEditRow('cd_edit_allmultiday_row');">&staff.server.admin.closed_dates.add.multiday;</button>
<button id='cd_new'
- onclick='cdShowEditRow("cd_edit_row");'>&staff.server.admin.closed_dates.add.detailed;</button>
+ onclick="cdShowEditRow('cd_edit_row');">&staff.server.admin.closed_dates.add.detailed;</button>
</td>
</tr>
</table>
@@ -123,6 +118,7 @@
<tbody id='cd_edit_tbody'>
<tr id='cd_edit_row' class='hide_me'>
+ <td>
<table class='data_grid data_grid_center' style='width: 100%;'>
<thead>
<tr>
@@ -175,6 +171,7 @@
</tr>
</tbody>
</table>
+ </td>
</tr>
<tr id='cd_edit_allday_row' class='hide_me'>
@@ -234,4 +231,3 @@
</body>
</html>
-
More information about the open-ils-commits
mailing list