forked from saurabh/orbit4-5
fixed filemanager.js for urls
This commit is contained in:
parent
f630596edc
commit
1467eb039d
|
@ -65,7 +65,7 @@ function getUrlParam( paramName ) {
|
||||||
var initAssets = function(){
|
var initAssets = function(){
|
||||||
$("#asset_sort_list").on(clickEvent,"input[type=checkbox]",function(){
|
$("#asset_sort_list").on(clickEvent,"input[type=checkbox]",function(){
|
||||||
if($("#asset_sort_list input[type=checkbox]:checked").length == 1){
|
if($("#asset_sort_list input[type=checkbox]:checked").length == 1){
|
||||||
url = window.location.protocol + "//" + window.location.host + $("#url_" + $("input[type=checkbox]:checked").val()).val();
|
url = $("#url_" + $("input[type=checkbox]:checked").val()).val();
|
||||||
insertBtn.show();
|
insertBtn.show();
|
||||||
showPreview($("input[type=checkbox]:checked"))
|
showPreview($("input[type=checkbox]:checked"))
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue