[Rt-commit] rt branch, 4.0/consistent-admin-ui-for-class, updated. rt-4.0.2-69-g38d185d
? sunnavy
sunnavy at bestpractical.com
Wed Sep 14 21:16:34 EDT 2011
The branch, 4.0/consistent-admin-ui-for-class has been updated
via 38d185d74909a588814c1727f2ee9829fa9fd186 (commit)
from ee4562784e2487523d67f9db978b7f3ba84aa722 (commit)
Summary of changes:
share/html/Admin/Articles/Classes/Modify.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 38d185d74909a588814c1727f2ee9829fa9fd186
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Sep 15 09:03:35 2011 +0800
to retain the form fields if creation fails
diff --git a/share/html/Admin/Articles/Classes/Modify.html b/share/html/Admin/Articles/Classes/Modify.html
index c0d527a..7e911ff 100644
--- a/share/html/Admin/Articles/Classes/Modify.html
+++ b/share/html/Admin/Articles/Classes/Modify.html
@@ -60,11 +60,11 @@
<table>
<tr>
<td align="right"><&|/l&>Class Name</&>: </td>
-<td><input name="Name" value="<% $Create ? '' : $ClassObj->Name %>" /></td>
+<td><input name="Name" value="<% $ClassObj->Name || $Name || ''%>" /></td>
</tr>
<tr>
<td align="right"><&|/l&>Description</&>:</td>
-<td><input name="Description" value="<% $Create ? '' : $ClassObj->Description || '' %>" size=60 /></td>
+<td><input name="Description" value="<% $ClassObj->Description || $Description || '' %>" size=60 /></td>
</tr>
<tr>
<td> </td>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list