Commit ff138d277dd7dfcc6b5d9693462b5a813e329047

Authored by rob
1 parent 9bd268b1

Updated search javascript function to set the form action


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1109 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/js/misc.js
@@ -4,9 +4,10 @@ function setActionAndSubmit(newAction) { @@ -4,9 +4,10 @@ function setActionAndSubmit(newAction) {
4 document.MainForm.submit(); 4 document.MainForm.submit();
5 } 5 }
6 6
7 -function setActionAndSubmitSearch() { 7 +function setActionAndSubmitSearch(newAction) {
8 document.MainForm.fForStandardSearch.value = 'yes'; 8 document.MainForm.fForStandardSearch.value = 'yes';
9 document.MainForm.method = 'GET'; 9 document.MainForm.method = 'GET';
  10 + document.MainForm.action = newAction;
10 document.MainForm.submit(); 11 document.MainForm.submit();
11 } 12 }
12 13