mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-19 23:40:00 +02:00
add market place
This commit is contained in:
@ -290,7 +290,7 @@ SelectionDialog.scheme = """
|
||||
<afx-hbox data-height="30">
|
||||
<div />
|
||||
<afx-button data-id = "btnOk" text = "__(Ok)" data-width = "40" />
|
||||
<afx-button data-id = "btnCancel" text = "__(Cancels)" data-width = "50" />
|
||||
<afx-button data-id = "btnCancel" text = "__(Cancel)" data-width = "50" />
|
||||
</afx-hbox>
|
||||
</afx-vbox>
|
||||
<div data-width = "10" />
|
||||
|
@ -208,14 +208,14 @@ Ant.OS.API =
|
||||
r.responseType = "arraybuffer"
|
||||
r.onload = (e) ->
|
||||
if @status is 200 and @readyState is 4
|
||||
resolve @response
|
||||
Ant.OS.API.loaded q, p, "OK"
|
||||
resolve @response
|
||||
else
|
||||
reject e, @
|
||||
Ant.OS.API.loaded q, p, "FAIL"
|
||||
reject Ant.OS.API.throwe __("Unable to get blob: {0}", p)
|
||||
Ant.OS.API.loading q, p
|
||||
r.send()
|
||||
|
||||
|
||||
upload: (p, d) ->
|
||||
new Promise (resolve, reject) ->
|
||||
q = Ant.OS.announcer.getMID()
|
||||
|
Reference in New Issue
Block a user