Opened 15 years ago

Closed 15 years ago

#516 closed enhancement (fixed)

set focus on print-window and on digitize-window

Reported by: astrid_emde Owned by: christoph
Priority: major Milestone: 2.6 release
Component: user interface Version: 2.6 rc1
Keywords: focus Cc: teac

Description

It would be good to set the focus on print-window and on digitize-window when they are opened (at the moment: if they are already opened they stay in background when they are opened again)

  1. solution for print:

Druckfunktion: Problem behoben durch Anpassung in der MB-Datenbank, Tabelle "gui_element", Modul print_PDF, Spalte "e_attributes" --> onclick='druckfenster = window.open("../print/mod_printPDF.php?target=mapframe1&sessionID&conf=printPDF_b.conf","printWin","width=260, height=380, resizable=yes ");druckfenster.focus();' onmouseover='this.src = this.src.replace(/_off/,"_over");' onmouseout='this.src = this.src.replace(/_over/, "_off");'

  1. solution for mod_digitize.php

mod_digitize.php (siehe Änderung in Zeile 1601) --> wfsWindow.document.open("text/html");

Start: 20.08.2009 Ergänzung LGV für Erfassungsmaske im Vordergrund wfsWindow.focus(); Ende

Change History (2)

comment:1 by verenadiewald, 15 years ago

  1. solution for mod_digitize_tab.php: http://trac.osgeo.org/mapbender/changeset/4657

comment:2 by verenadiewald, 15 years ago

Resolution: fixed
Status: newclosed
  1. as described above (done for gui1 in update sql): onclick='printWindow = window.open("../print/mod_printPDF.php?target=mapframe1&sessionID& conf=printPDF_b.conf","printWin","width=180, height=200, resizable=yes ");printWindow.focus();' onmouseover='this.src = this.src.replace(/_off/,"_over");' onmouseout='this.src = this.src.replace(/_over/, "_off");'

http://trac.osgeo.org/mapbender/changeset/4630

Note: See TracTickets for help on using tickets.