Skip to content

Commit d2662a1

Browse files
committed
miqAjaxRequest unused as of 5a1ed5d
1 parent 932e403 commit d2662a1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

app/javascript/oldjs/miq_application.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -842,18 +842,6 @@ window.miqSendDateRequest = function(el) {
842842
return miqObserveRequest(urlstring, options);
843843
};
844844

845-
// common function to pass ajax request to server
846-
window.miqAjaxRequest = function(itemId, path) {
847-
if (miqCheckForChanges()) {
848-
miqJqueryRequest(
849-
miqPassFields(path, { id: itemId }),
850-
{ beforeSend: true, complete: true }
851-
);
852-
return true;
853-
}
854-
return false;
855-
};
856-
857845
// Handle an element onclick to open href in a new window with optional confirmation
858846
window.miqClickAndPop = function(el) {
859847
const conmsg = el.getAttribute('data-miq_confirm');

0 commit comments

Comments
 (0)