Fix event error on firefox 1.6.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-22 00:30:49 -03:00
parent dd1698b5d9
commit 9f495f1e76

View File

@ -239,13 +239,11 @@ $("#addBtn").click(function (event) {
}); });
// Register change event ... // Register change event ...
$("#shareRole a").click(function () { $("#shareRole a").click(function (event) {
var role = onClickShare(this); var role = onClickShare(this);
$(this).parent().attr('data-role', role); $(this).parent().attr('data-role', role);
event.stopPropagation();
event.preventDefault(); event.preventDefault();
return false;
}); });
function isValidEmailAddress(emailAddress) { function isValidEmailAddress(emailAddress) {