Bugs item #686736, was opened at 2003-02-14 11:31
Message generated for change (Comment added) made by shawnkhall
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=432066&aid=686736&group_id=42081

Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Sarah Sweeney (sarah324)
Assigned to: Nobody/Anonymous (nobody)
Summary: maximized.htm only works when actually searching

Initial Comment:
I couldn't figure out why pages I was opening were 
not opening "maximized" (or using the whole 
window, at least) even though I have 
pagetemplate="maximized.htm"; in my 
localprefs.js. After trying a few different searches, I 
realized that maximized.htm only gets used when I 
actually search for something - so if I enter "amaz" 
the window will be smaller, but if I enter "amaz the 
two towers", it will use maximized.htm. 

----------------------------------------------------------------------

>Comment By: Shawn K. Hall (shawnkhall)
Date: 2005-01-25 06:03

Message:
Logged In: YES 
user_id=219805

modified version of code submitted below committed. After 
testing it should appear in the next release, or you can pick 
up a copy of defer_tools.js from CVS

----------------------------------------------------------------------

Comment By: Brent Dai (anonymous2)
Date: 2004-02-04 00:23

Message:
Logged In: YES 
user_id=967730

Change defer_tools.js like this.

// Open a search window in an existing frame
function openNamedSearchWindow(url, name)
{
  var w = null;
  if (useExternalBrowser && DQSDLauncher)
    DQSDLauncher.OpenDocument(url);
  else if (typeof windowOpenFeatures != "undefined") {
    w = window.open(pagetemplate, name, 
windowOpenFeatures);
    w.open(url, name, windowOpenFeatures);
  } else {
    w = window.open(pagetemplate, name);
    w.open(url, name);
  }
}

This only applies when useExternalBrowser is false.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-02-04 00:09

Message:
Logged In: NO 

Change defer_tools.js like this.

function openNamedSearchWindow(url, name)
{

  var w = null; /*Changed*/

  if (useExternalBrowser && DQSDLauncher)
    DQSDLauncher.OpenDocument(url);
  else if (typeof windowOpenFeatures != "undefined") {

    w = window.open(pagetemplate, name, 
windowOpenFeatures); /*Changed*/

    w.open(url, name, windowOpenFeatures);
  } else {

    w = window.open(pagetemplate, name); /*Changed*/

    w.open(url, name);
  }
}

This only applies when useExternalBrowser is false.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=432066&aid=686736&group_id=42081


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Archive: https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to