Skip to content

Commit

Permalink
webui/js: remove unused ajax.beforeSend
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslashev committed Oct 25, 2023
1 parent 6191940 commit cd8a03a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tp2bmc/board/tp2bmc/overlay/mnt/var/www/js/new/m_page_disp.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,10 @@ function page_http_req_get(uUrl, lType) {
dataType: 'text',
timeout: 5000,
cache: false,
beforeSend: LoadFunction,
error: erryFunction,
success: succFunction
})

function LoadFunction() {
//$(".list").html('load.......');
}

function erryFunction() {
alert("page get error");
}
Expand Down Expand Up @@ -91,15 +86,10 @@ function page_http_req_set(uUrl, lType) {
timeout: 5000,
cache: false,
async: false,
beforeSend: LoadFunction,
error: erryFunction,
success: succFunction
})

function LoadFunction() {
//$(".list").html('load.......');
}

function erryFunction() {
// alert('page set error1'); //modify by wenyi
console.log("ajax post error");
Expand Down

0 comments on commit cd8a03a

Please sign in to comment.