Fix rendering of js_calendar on add_attr, when no previous DateAttributes existed

This commit is contained in:
Deon George
2009-09-20 11:21:59 +10:00
parent 9196bb9e41
commit a6dc80616b
2 changed files with 10 additions and 17 deletions

View File

@@ -160,6 +160,7 @@ if (get_request('meth','REQUEST') != 'ajax') {
echo '<table class="entry" cellspacing="0" align="center" border=0>';
$request['page']->draw('Template',$attribute);
$request['page']->draw('Javascript',$attribute);
echo '</table>';
} else {