mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
fix previous
This commit is contained in:
parent
d189f62b95
commit
4e44c126ea
@ -487,7 +487,7 @@ $.fn.SimpleActionButton = function (params) {
|
||||
this_button.on('click', function(){
|
||||
this_button.find('.reload_progress').addClass("fa fa-spinner fa-pulse");
|
||||
ajaxCall(this_button.data('endpoint'), {}, function(data,status) {
|
||||
if (params.onAction) {
|
||||
if (params && params.onAction) {
|
||||
params.onAction(data, status);
|
||||
}
|
||||
if (status != "success" || data['status'].toLowerCase() != 'ok') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user