* add the feature of disable submit button.

This commit is contained in:
wangchunsheng
2010-11-24 08:38:28 +00:00
parent 1362e9191e
commit 42cfb4c4c6
6 changed files with 32 additions and 3 deletions
+3 -1
View File
@@ -543,7 +543,7 @@ class js
*/
static private function start($full = true)
{
if($full) return "<html><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><script language='Javascript'>";
if($full) return "<html><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><style>body{background:white}</style><script language='Javascript'>";
return "<script language='Javascript'>";
}
@@ -742,6 +742,8 @@ EOT;
$jsConfig->requiredFields = $requiredFields;
$jsConfig->lblShowAll = $lang->showAll;
$jsConfig->lblHideClosed = $lang->hideClosed;
$jsConfig->submitting = $lang->submitting;
$jsConfig->save = $lang->save;
$jsConfig->router = $app->server->PHP_SELF;
$js = self::start(false);