remove attr("data-
This commit is contained in:
@@ -104,12 +104,12 @@
|
|||||||
,url: uri_base + '/ajax/control/admin/' + mode
|
,url: uri_base + '/ajax/control/admin/' + mode
|
||||||
,data: tr.find('input[data-form="' + mode + '"],textarea[data-form="' + mode + '"]').serializeArray()
|
,data: tr.find('input[data-form="' + mode + '"],textarea[data-form="' + mode + '"]').serializeArray()
|
||||||
,success: function() {
|
,success: function() {
|
||||||
toastr.info('Queued '+ mode +' for device '+ tr.attr('data-for-device'));
|
toastr.info('Queued '+ mode +' for device '+ tr.data('for-device'));
|
||||||
}
|
}
|
||||||
// skip any error reporting for now
|
// skip any error reporting for now
|
||||||
// TODO: fix sanity_ok in Netdisco Web
|
// TODO: fix sanity_ok in Netdisco Web
|
||||||
,error: function() {
|
,error: function() {
|
||||||
toastr.error('Failed to queue '+ mode +' for device '+ tr.attr('data-for-device'));
|
toastr.error('Failed to queue '+ mode +' for device '+ tr.data('for-device'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user