Skip to content

Commit

Permalink
*5321* Reload page after select role block is triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrider committed Jul 23, 2010
1 parent 1774bab commit 26a3d58
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/blocks/selectRole/block.tpl
Expand Up @@ -26,7 +26,12 @@
$(this.form).serialize(),
function(jsonData) {
// Display error message (if any)
if (jsonData.status == false) alert(jsonData.content);
if (jsonData.status == false) {
alert(jsonData.content);
} else {
// Reload the page
location.reload(true);
}
},
"json"
);
Expand Down

0 comments on commit 26a3d58

Please sign in to comment.