Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var f1 = function(data){
- console.log("generateDS_saveItem", data.additionalData)
- var url = JSON.parse(data.additionalData)[0].msg;
- // если нашли URL, то выводим ссылку на скачивание файла.
- if(url) as.sys.bootstrapAlert("<a href='"+url+"' target='_blank' class='btn btn-primary '>Скачать файл</a>", {type:"success", delay:0});
- };
- as.formcallbacks["generateDS_saveItem"] = f1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement