[Mapbender-commits] r4662 - in branches/2.6/resources/db/mysql: ISO-8859-1/update UTF-8/update

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Sep 18 07:40:51 EDT 2009


Author: verenadiewald
Date: 2009-09-18 07:40:51 -0400 (Fri, 18 Sep 2009)
New Revision: 4662

Modified:
   branches/2.6/resources/db/mysql/ISO-8859-1/update/update_2.6rc1_to_2.6_mysql_ISO-8859-1.sql
   branches/2.6/resources/db/mysql/UTF-8/update/update_2.6rc1_to_2.6_mysql_UTF-8.sql
Log:
http://trac.osgeo.org/mapbender/ticket/516

Modified: branches/2.6/resources/db/mysql/ISO-8859-1/update/update_2.6rc1_to_2.6_mysql_ISO-8859-1.sql
===================================================================
--- branches/2.6/resources/db/mysql/ISO-8859-1/update/update_2.6rc1_to_2.6_mysql_ISO-8859-1.sql	2009-09-18 11:39:08 UTC (rev 4661)
+++ branches/2.6/resources/db/mysql/ISO-8859-1/update/update_2.6rc1_to_2.6_mysql_ISO-8859-1.sql	2009-09-18 11:40:51 UTC (rev 4662)
@@ -209,3 +209,6 @@
 
 -- dutch entry for translations table
 INSERT INTO translations (locale, msgid, msgstr) VALUES ('nl', 'Set language', 'Taal instellen');
+
+--set window.focus() function for print button in gui1
+UPDATE gui_element set e_attributes = 'onclick=''printWindow = window.open("../print/mod_printPDF.php?target=mapframe1&sessionID&conf=printPDF_b.conf","printWin","width=260, height=380, resizable=yes ");printWindow.focus();''  onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");''' where fkey_gui_id = 'gui1' and e_id = 'printPDF';

Modified: branches/2.6/resources/db/mysql/UTF-8/update/update_2.6rc1_to_2.6_mysql_UTF-8.sql
===================================================================
--- branches/2.6/resources/db/mysql/UTF-8/update/update_2.6rc1_to_2.6_mysql_UTF-8.sql	2009-09-18 11:39:08 UTC (rev 4661)
+++ branches/2.6/resources/db/mysql/UTF-8/update/update_2.6rc1_to_2.6_mysql_UTF-8.sql	2009-09-18 11:40:51 UTC (rev 4662)
@@ -208,3 +208,7 @@
 
 -- dutch entry for translations table
 INSERT INTO translations (locale, msgid, msgstr) VALUES ('nl', 'Set language', 'Taal instellen');
+
+--set window.focus() function for print button in gui1
+UPDATE gui_element set e_attributes = 'onclick=''printWindow = window.open("../print/mod_printPDF.php?target=mapframe1&sessionID&conf=printPDF_b.conf","printWin","width=260, height=380, resizable=yes ");printWindow.focus();''  onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");''' where fkey_gui_id = 'gui1' and e_id = 'printPDF';
+



More information about the Mapbender_commits mailing list