1
0
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:
CaMer0n
2012-05-25 11:30:49 +00:00
parent 06df7308bb
commit e9811d8b8f
7 changed files with 170 additions and 100 deletions

View File

@@ -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