[asterisk-bugs] [Asterisk-GUI 0010068]: asterisk-gui inside an iframe

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Aug 1 13:06:00 CDT 2007


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=10068 
====================================================================== 
Reported By:                kees
Assigned To:                pari
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   10068
Category:                   Core/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.9 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 1173 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             06-27-2007 09:36 CDT
Last Modified:              08-01-2007 13:06 CDT
====================================================================== 
Summary:                    asterisk-gui inside an iframe
Description: 
I try to display asterisk-gui inside an iframe under some menu.
This times out after logging in, whereas it works perfectly in its own
window.

Most prominent error message i see (firefox under linux) is about trying
to set property  "top.document.title" 
a fix that works for me is changing the line(s) in question to:
 
if (top == self) top.document.title = "Asterisk GUI (Beta) -- Home";

though i only tested that on ff/linux
====================================================================== 

---------------------------------------------------------------------- 
 pari - 08-01-07 13:06  
---------------------------------------------------------------------- 
Hi kees,

the gui assumes that it is running in a normal browser window and not in
an iframe. If you have to use the in an iframe for your personal use - you
can try
bbryant's patch which should work perfectly.

-pari 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-01-07 13:06  pari           Status                   assigned => closed  
08-01-07 13:06  pari           Note Added: 0068219                          
======================================================================




More information about the asterisk-bugs mailing list