Bad javascript send multiple Ajax request on widgets administration page
-
Plugin version 5.0.11
In the following file “src/widget/js/widget.js” at line 157,the selector is not precise enough :$("input[name='savewidget']").click();It trigger click event on all widgets save button and send as many ajax request as widgets …
It should be something like:
$(this).parents('.widget').find("[name='savewidget']").click();
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Bad javascript send multiple Ajax request on widgets administration page’ is closed to new replies.