copyright and version fixes
[civicrm-core.git] / templates / CRM / Profile / Form / Dynamic.tpl
index 67fcf6e42350451b6ac9468e4ed5f6048b9b64b4..412813020753cc42185a02239e942f37ce9189a9 100644 (file)
@@ -46,7 +46,7 @@ function checkResponse(responseText, statusText, xhr, $form) {
   //if there is any form error show the dialog
   //else redirect to post url
   if (!cj(responseText).find('.crm-error').html()) {
-    window.location = '{/literal}{$postUrl}{literal}';
+    window.location.href = '{/literal}{$postUrl}{literal}';
   }
 } 
 </script>