* fix for 129.

This commit is contained in:
wyd621
2014-05-02 02:48:46 +00:00
parent b1f408e537
commit 1a4762bba2
+9 -1
View File
@@ -460,7 +460,15 @@ function setForm()
*/
function setFormAction(actionLink, hiddenwin)
{
// if(hiddenwin) $('form').attr('target', hiddenwin);
if(hiddenwin)
{
$('form').attr('target', hiddenwin);
}
else
{
$('form').removeAttr('target');
}
$('form').attr('action', actionLink).submit();
}