View | Details | Raw Unified | Return to bug 12123
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (-1 / +8 lines)
Lines 104-109 Link Here
104
                var rowid = $(this).data("noticeid");
104
                var rowid = $(this).data("noticeid");
105
                $("#notice"+rowid).toggle();
105
                $("#notice"+rowid).toggle();
106
                $("#resend_notice"+rowid).toggle();
106
                $("#resend_notice"+rowid).toggle();
107
                var iframe = $("#notice"+rowid).children('iframe');
108
                // Adding some padding to the height and width to remove scrollbars
109
                var height = iframe.get(0).contentWindow.document.body.scrollHeight + 25;
110
                var width = iframe.get(0).contentWindow.document.body.scrollWidth + 25;
111
                iframe.css({
112
                    'width':  width + 'px',
113
                    'height': height + 'px'
114
                });
107
            });
115
            });
108
        });
116
        });
109
    </script>
117
    </script>
110
- 

Return to bug 12123