Commit a1478003 by Siti Aisah

back

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