Commit a6d40ad9 by Siti Aisah

hide select file images

parent ddd154e5
......@@ -3071,7 +3071,8 @@
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');
......@@ -4470,10 +4471,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