Commit 1366f359 authored by yann300's avatar yann300

fix gist publish alert

parent 070a0d41
/* global confirm, prompt, Option, Worker, chrome */
/* global confirm, Option, Worker, chrome */
'use strict'
var async = require('async')
......
/* global alert, confirm, prompt */
/* global confirm, prompt */
var yo = require('yo-yo')
var $ = require('jquery')
var modalDialogCustom = require('./modal-dialog-custom')
var QueryParams = require('./query-params')
var queryParams = new QueryParams()
......@@ -70,7 +71,7 @@ function filesTab (container, appAPI, events, opts) {
}
}).fail(function (xhr, text, err) {
console.log('fail', text)
alert('Failed to create gist: ' + (err || 'Unknown transport error'))
modalDialogCustom.alert('Failed to create gist: ' + (err || 'Unknown transport error'))
})
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment