Changeset 886
- Timestamp:
- 12/12/06 03:11:20 (2 years ago)
- Files:
-
- branches/wheeljack/tmpl/cms/edit_template.tmpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/wheeljack/tmpl/cms/edit_template.tmpl
r852 r886 84 84 85 85 function validate (f, rebuild) { 86 if ( !f.name.value) {86 if (f.name && !f.name.value) { 87 87 alert('<MT_TRANS phrase="You must set the Template Name." escape="singlequotes">'); 88 88 return false; 89 89 } 90 else if ( !f.outfile.value) {90 else if (f.outfile && !f.outfile.value) { 91 91 alert('<MT_TRANS phrase="You must set the template Output File." escape="singlequotes">'); 92 92 return false;
