View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Update of /cvsroot/dqsd/dqsd/searches
In directory usw-pr-cvs1:/tmp/cvs-serv27432/searches

Modified Files:
        setiq.xml 
Log Message:
- added dontChangeTarget argument in submitForm function in defer_tools.js to allow 
searches to force a target window

- changed setiq.xml to use this change (more elegant than the previous version hack)

note: hoped this would have allowed to at last get sf.xml to allow authentication, by 
first opening a window to https://sourceforge.net/account/login.php to get a cookie 
then applying the login form into the same window, but no luck - I don't know why. :(

Index: setiq.xml
===================================================================
RCS file: /cvsroot/dqsd/dqsd/searches/setiq.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** setiq.xml   20 Jul 2002 14:01:04 -0000      1.4
--- setiq.xml   24 Jul 2002 15:59:57 -0000      1.5
***************
*** 110,121 ****
          }
  
-         //hack to get all 3 forms to open in same window
-         var tempreuseBrowserWindowModeOverride = reuseBrowserWindowModeOverride;
-         reuseBrowserWindowModeOverride = 1;
- 
          document.setiqf.action = 
"http://"+serveraddress+":"+portnumber+"/login.htm?";;
          document.setiqf.User.value="admin";
          document.setiqf.Pass.value=args.q;
!         submitForm(document.setiqf);
  
          if( duration )
--- 110,118 ----
          }
  
          document.setiqf.action = 
"http://"+serveraddress+":"+portnumber+"/login.htm?";;
          document.setiqf.User.value="admin";
          document.setiqf.Pass.value=args.q;
!         document.setiqf.target=DQSD_BROWSER_WINDOW_NAME + '_setiqf';
!         submitForm(document.setiqf, true);
  
          if( duration )
***************
*** 124,128 ****
            document.setiqcf.Connect.value=duration;
            document.setiqcf.target=document.setiqf.target;
!           submitForm(document.setiqcf);
          }
  
--- 121,125 ----
            document.setiqcf.Connect.value=duration;
            document.setiqcf.target=document.setiqf.target;
!           setTimeout( "submitForm(document.setiqcf, true);", 250 );
          }
  
***************
*** 131,139 ****
            //mmh... I use a form, but I'm sure it's overkill. How to change the 
location URL of the opened window?
            document.setiqlf.action = "http://"+serveraddress+":"+portnumber+"/"; + 
args.switch_val["display"] + ".htm";
!           document.setiqlf.target=document.setiqcf.target;
!           submitForm(document.setiqlf);
          }
  
-         reuseBrowserWindowModeOverride = tempreuseBrowserWindowModeOverride;
          return true;
        }
--- 128,135 ----
            //mmh... I use a form, but I'm sure it's overkill. How to change the 
location URL of the opened window?
            document.setiqlf.action = "http://"+serveraddress+":"+portnumber+"/"; + 
args.switch_val["display"] + ".htm";
!           document.setiqlf.target=document.setiqf.target;
!           setTimeout( "submitForm(document.setiqlf, true);", 250 );
          }
  
          return true;
        }




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/

Reply via email to