// fancybox on products image in admin
This commit is contained in:
@@ -78,7 +78,7 @@
|
|||||||
<table id="lineType" style="display:none;">
|
<table id="lineType" style="display:none;">
|
||||||
<tr id="image_id">
|
<tr id="image_id">
|
||||||
<td style="padding: 4px;">
|
<td style="padding: 4px;">
|
||||||
<a href="{$smarty.const._THEME_PROD_DIR_}image_path.jpg" target="_blank">
|
<a href="{$smarty.const._THEME_PROD_DIR_}image_path.jpg" class="fancybox">
|
||||||
<img src="{$smarty.const._THEME_PROD_DIR_}en-default-small.jpg" alt="image_id" title="image_id" />
|
<img src="{$smarty.const._THEME_PROD_DIR_}en-default-small.jpg" alt="image_id" title="image_id" />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
@@ -328,6 +328,7 @@
|
|||||||
}
|
}
|
||||||
$("#imageList").append(line);
|
$("#imageList").append(line);
|
||||||
}
|
}
|
||||||
|
$('.fancybox').fancybox();
|
||||||
});
|
});
|
||||||
{/literal}
|
{/literal}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user