Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
git test
Jpress
Commits
74bc9744
Commit
74bc9744
authored
6 years ago
by
fuhai999@gmail.com
Browse files
Options
Download
Email Patches
Plain Diff
v2.0.2
parent
9d175c58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jpress-web/src/main/webapp/static/admin/js/jpressadmin.js
+2
-0
jpress-web/src/main/webapp/static/admin/js/jpressadmin.js
with
2 additions
and
0 deletions
+2
-0
jpress-web/src/main/webapp/static/admin/js/jpressadmin.js
+
2
-
0
View file @
74bc9744
...
...
@@ -29,7 +29,9 @@ function initImageBrowserButton() {
var
img
=
imgBrowserBtn
.
attr
(
"
for-src
"
);
var
input
=
imgBrowserBtn
.
attr
(
"
for-input
"
);
$
(
"
#
"
+
img
).
attr
(
"
src
"
,
jpress
.
cpath
+
layer
.
data
.
src
);
$
(
"
#
"
+
img
).
trigger
(
"
srcChanged
"
,
jpress
.
cpath
+
layer
.
data
.
src
);
$
(
"
#
"
+
input
).
val
(
layer
.
data
.
src
);
$
(
"
#
"
+
input
).
trigger
(
"
valChanged
"
,
layer
.
data
.
src
);
}
}
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help