Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apex_micro_site
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
apex_micro_site
Commits
6478b74b
Commit
6478b74b
authored
May 29, 2018
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js fix
parent
5fc0d451
Pipeline
#577
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lms-setting.php
.../wp-content/plugins/apex_global_lms/admin/lms-setting.php
+5
-2
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/admin/lms-setting.php
View file @
6478b74b
...
@@ -543,8 +543,11 @@ function vq_lms_settings_field_courselist_cb($args)
...
@@ -543,8 +543,11 @@ function vq_lms_settings_field_courselist_cb($args)
mediaUploader
.
on
(
'select'
,
function
()
{
mediaUploader
.
on
(
'select'
,
function
()
{
attachment
=
mediaUploader
.
state
().
get
(
'selection'
).
first
().
toJSON
();
attachment
=
mediaUploader
.
state
().
get
(
'selection'
).
first
().
toJSON
();
var
str
=
attachment
.
url
;
var
url
=
attachment
.
url
;
var
url
=
str
.
replace
(
"http://"
,
"https://"
);
if
(
document
.
location
.
hostname
.
indexOf
(
'https://'
)
!==
-
1
)
{
url
=
url
.
replace
(
"http://"
,
"https://"
);
}
jQuery
(
"#vq_lms_courselist_hidden"
).
val
(
url
);
jQuery
(
"#vq_lms_courselist_hidden"
).
val
(
url
);
...
...
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