Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
a6d40ad9
Commit
a6d40ad9
authored
a year ago
by
Siti Aisah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hide select file images
parent
ddd154e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
public/backend/js/plugins/summernote/summernote.js
+6
-5
No files found.
public/backend/js/plugins/summernote/summernote.js
View file @
a6d40ad9
...
@@ -3071,7 +3071,8 @@
...
@@ -3071,7 +3071,8 @@
return
$
.
Deferred
(
function
(
deferred
)
{
return
$
.
Deferred
(
function
(
deferred
)
{
var
$imageDialog
=
$dialog
.
find
(
'.note-image-dialog'
);
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'
),
$imageUrl
=
$dialog
.
find
(
'.note-image-url'
),
$imageBtn
=
$dialog
.
find
(
'.note-image-btn'
);
$imageBtn
=
$dialog
.
find
(
'.note-image-btn'
);
...
@@ -4470,10 +4471,10 @@
...
@@ -4470,10 +4471,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>'
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment