Commit 0b14e33fb689abe0212c54e9b08d36bbd9a23741
1 parent
f15a7314
changed javascript to use document.MainForm.submit
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@666 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
3 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/browseUI.inc
| ... | ... | @@ -26,11 +26,11 @@ require_once("$default->owl_ui_directory/foldermanagement/addFolderUI.inc"); |
| 26 | 26 | function renderBrowseTypeSelect($sBrowseType) { |
| 27 | 27 | // TODO: write function for onChange that checks if the new value |
| 28 | 28 | return "<span class=\"browseTypeSelect\">\n |
| 29 | - \tView documents by: <input type=\"radio\" name=\"fBrowseType\" onclick=\"document.forms[0].submit()\" value=\"folder\"" . | |
| 29 | + \tView documents by: <input type=\"radio\" name=\"fBrowseType\" onclick=\"document.MainForm.submit()\" value=\"folder\"" . | |
| 30 | 30 | ((($sBrowseType=="folder") || (strlen($sBrowseType)==0)) ? " checked" : "") . "> Folders\n" . |
| 31 | - "<input type=\"radio\" name=\"fBrowseType\" onclick=\"document.forms[0].submit()\" value=\"category\"" . | |
| 31 | + "<input type=\"radio\" name=\"fBrowseType\" onclick=\"document.MainForm.submit()\" value=\"category\"" . | |
| 32 | 32 | (($sBrowseType=="category") ? " checked" : "") . "> Category\n" . |
| 33 | - "<input type=\"radio\" name=\"fBrowseType\" onclick=\"if (document.forms[0]. document.forms[0].submit()\" value=\"documentType\"" . | |
| 33 | + "<input type=\"radio\" name=\"fBrowseType\" onclick=\"document.MainForm.submit()\" value=\"documentType\"" . | |
| 34 | 34 | (($sBrowseType=="documentType") ? " checked" : "") . "> Document Type\n</span>"; |
| 35 | 35 | } |
| 36 | 36 | ... | ... |