mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Some banner plugin work. imagepicker() may now be customized in preview size.
This commit is contained in:
@@ -165,6 +165,7 @@ $(document).ready(function()
|
||||
//alert(bbpath);
|
||||
}
|
||||
|
||||
|
||||
$('#src').attr('value',src); // working old
|
||||
$('#preview').attr('src',preview); // working old
|
||||
|
||||
@@ -174,6 +175,7 @@ $(document).ready(function()
|
||||
$('#width').val(width);
|
||||
$('#height').val(height);
|
||||
|
||||
|
||||
$('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
|
||||
|
Reference in New Issue
Block a user