Commit a1478003 by Siti Aisah

back

parent e222b9cf
......@@ -3071,8 +3071,7 @@
return $.Deferred(function (deferred) {
var $imageDialog = $dialog.find('.note-image-dialog');
var
// $imageInput = $dialog.find('.note-image-input'),
var $imageInput = $dialog.find('.note-image-input'),
$imageUrl = $dialog.find('.note-image-url'),
$imageBtn = $dialog.find('.note-image-btn');
......@@ -4471,10 +4470,10 @@
var tplDialogs = function (lang, options) {
var tplImageDialog = function () {
var body =
// '<div class="note-group-select-from-files">' +
// '<h5>' + lang.image.selectFromFiles + '</h5>' +
// '<input class="note-image-input" type="file" name="files" accept="image/*" />' +
// '</div>' +
'<div class="note-group-select-from-files">' +
'<h5>' + lang.image.selectFromFiles + '</h5>' +
'<input class="note-image-input" type="file" name="files" accept="image/*" />' +
'</div>' +
'<h5>' + lang.image.url + '</h5>' +
'<input class="note-image-url form-control span12" type="text" />';
var footer = '<button href="#" class="btn btn-primary note-image-btn disabled" disabled>' + lang.image.insert + '</button>';
......
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