mirror of
https://github.com/e107inc/e107.git
synced 2025-10-23 18:56:20 +02:00
Media-Manager importing of files
This commit is contained in:
@@ -98,7 +98,7 @@ $(document).ready(function()
|
||||
$(".e-media-select").live("click", function(){
|
||||
|
||||
|
||||
// console.log(this);
|
||||
console.log(this);
|
||||
|
||||
|
||||
|
||||
@@ -111,7 +111,9 @@ $(document).ready(function()
|
||||
$(this).closest("img").addClass("active");
|
||||
|
||||
$('#' + target, window.top.document).attr('value',path); // set new value
|
||||
$('#' + target + "_prev", window.top.document).attr('src',preview); // set new value
|
||||
$('img#' + target + "_prev", window.top.document).attr('src',preview); // set new value
|
||||
$('div#' + target + "_prev", window.top.document).html(preview); // set new value
|
||||
$('span#' + target + "_prev", window.top.document).html(preview); // set new value
|
||||
|
||||
$('#src').attr('value',src); // working old
|
||||
$('#preview').attr('src',preview); // working old
|
||||
|
Reference in New Issue
Block a user