We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122263d commit 7bd9a66Copy full SHA for 7bd9a66
public/js/master.js
@@ -42,7 +42,7 @@
42
if (response.status == 'success') {
43
$('#' + formId + ' #message').html(opts.successMessage);
44
45
- if ( $.isFunction( responseDataCallBack ) && response.data.length > 0) {
+ if ( $.isFunction( responseDataCallBack ) && !jQuery.isEmptyObject(response.data)) {
46
responseDataCallBack.call(this, response.data );
47
}
48
0 commit comments