Ignore:
Timestamp:
Jan 27, 2013, 2:34:55 PM (11 years ago)
Author:
julien1311
Message:

[piwecard] email preview in admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Piwecard/admin/template/admin_configuration.tpl

    r20341 r20421  
    2424                        if (data.stat =='ok') {
    2525                                $("#previewEmail").html(data.result.message);
    26                                 $.each(data.result.style, function(index, value) {
    27                                         document.getElementById(index).setAttribute("style", value);
    28                                 });
    2926                                $.colorbox({
    3027                                        inline:true,
    3128                                        href:"#previewEmail",
    32                                         onComplete: function(style){
     29                                        onComplete: function(){
    3330                                                $("#cboxLoadedContent").css('text-align', 'left');
    3431                                        }
Note: See TracChangeset for help on using the changeset viewer.