mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
BUGFIX added return false to delete custom rule function
This commit is contained in:
parent
031b91a791
commit
3a4b0bdfd7
@ -246,6 +246,8 @@
|
|||||||
*/
|
*/
|
||||||
$(".customRules .deleteCondition").livequery('click', function() {
|
$(".customRules .deleteCondition").livequery('click', function() {
|
||||||
$(this).parent("li").fadeOut().remove();
|
$(this).parent("li").fadeOut().remove();
|
||||||
|
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
/**
|
/**
|
||||||
* Adding a custom rule to a given form
|
* Adding a custom rule to a given form
|
||||||
|
Loading…
x
Reference in New Issue
Block a user