mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 02:28:03 -07:00
SLL certificates upload implementation step #1
This commit is contained in:
parent
994b0cfa14
commit
373c5f25b2
10 changed files with 52 additions and 171 deletions
|
@ -184,11 +184,19 @@ App.Ajax.request = function(jedi_method, data, callback)
|
|||
dataType: "text",
|
||||
async: true,
|
||||
success: function(reply)
|
||||
{
|
||||
{
|
||||
reply = reply.replace(/\\'/gi, '');
|
||||
reply = reply.replace(/\'/gi, '');
|
||||
|
||||
reply = jsonParse(reply);
|
||||
|
||||
if (reply.result == 'NOT_AUTHORISED') {
|
||||
|
||||
return alert('NOT AUTH');
|
||||
}
|
||||
|
||||
//timer.start();
|
||||
callback && callback(jsonParse(reply));
|
||||
callback && callback(reply);
|
||||
App.Helpers.afterAjax();
|
||||
//timer.stop(jedi_method);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue