From 5a39bffd732270aaccdcd241120cc7c908e0d603 Mon Sep 17 00:00:00 2001 From: steinm Date: Tue, 7 Feb 2012 10:31:31 +0000 Subject: [PATCH] - replace more var openDlg; function chooseCategory() { - var current = document..categoryid; + var current = document..categoryid; openDlg = open("out.CategoryChooser.php?form=&cats="+current.value, "openDlg", "width=480,height=480,scrollbars=yes,resizable=yes,status=yes"); } function clearCategory() { - document..categoryid.value = ''; - document..categoryname.value = ''; + document..categoryid.value = ''; + document..categoryname.value = ''; } - + - + - + @@ -813,7 +813,7 @@ mayscript> $value) { ?> - attr = attrSet.createStringAttribute( '', '' ); + attr = attrSet.createStringAttribute( '', '' ); attr.setSendToServer(true); if(!$fields || (isset($fields['name']) && $fields['name'])) { ?> content += ""; - content += ""; + content += ""; if(attr = attrSet.getAttributeByName('name')) value = attr.getStringValue(); else @@ -887,7 +887,7 @@ mayscript> if(!$fields || (isset($fields['comment']) && $fields['comment'])) { ?> content += ""; - content += ""; + content += ""; if(attr = attrSet.getAttributeByName('comment')) value = attr.getStringValue(); else @@ -904,7 +904,7 @@ mayscript> if(!$fields || (isset($fields['reqversion']) && $fields['reqversion'])) { ?> content += ""; - content += ""; + content += ""; if(attr = attrSet.getAttributeByName('reqversion')) value = attr.getStringValue(); else @@ -921,7 +921,7 @@ mayscript> if(!$fields || (isset($fields['version_comment']) && $fields['version_comment'])) { ?> content += ""; - content += ""; + content += ""; if(attr = attrSet.getAttributeByName('version_comment')) value = attr.getStringValue(); else @@ -938,14 +938,14 @@ mayscript> if(!$fields || (isset($fields['keywords']) && $fields['keywords'])) { ?> content += ""; - content += ""; + content += ""; if(attr = attrSet.getAttributeByName('keywords')) value = attr.getStringValue(); else value = ''; if(edit) { value = ""; - value += "
"; + value += "
"; } content += "" + value + ""; content += ""; @@ -957,7 +957,7 @@ mayscript> if(!$fields || (isset($fields['categories']) && $fields['categories'])) { ?> content += ""; - content += ""; + content += ""; if(attr = attrSet.getAttributeByName('categoryids')) value = attr.getStringValue(); else @@ -969,7 +969,7 @@ mayscript> if(edit) { value = ""; value += ""; - value += "
"; + value += "
"; } else { value = value2; } diff --git a/out/out.Categories.php b/out/out.Categories.php index 4c7d13783..39ac5e067 100644 --- a/out/out.Categories.php +++ b/out/out.Categories.php @@ -101,7 +101,7 @@ UI::contentContainerStart(); -

+

diff --git a/out/out.EditDocument.php b/out/out.EditDocument.php index 7751e20e6..d0af86edd 100644 --- a/out/out.EditDocument.php +++ b/out/out.EditDocument.php @@ -74,7 +74,7 @@ UI::contentHeading(getMLText("edit_document_props")); UI::contentContainerStart(); ?>
- + diff --git a/out/out.KeywordChooser.php b/out/out.KeywordChooser.php index 018aec992..1eea8c494 100644 --- a/out/out.KeywordChooser.php +++ b/out/out.KeywordChooser.php @@ -44,7 +44,7 @@ UI::htmlStartPage(getMLText("use_default_keywords"));
: