- Fix a bug in print dialog, clicking header was also toggling first checkbox

- Missing translations from Stefan Unverricht
This commit is contained in:
nathangray 2016-12-06 09:45:55 -07:00
parent 81aaaf9675
commit fbba0f2e59
5 changed files with 13 additions and 5 deletions

View File

@ -2249,7 +2249,7 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_
// If you use a template, the second parameter will be the value of the template, as if it were submitted. // If you use a template, the second parameter will be the value of the template, as if it were submitted.
callback: callback, // return false to prevent dialog closing callback: callback, // return false to prevent dialog closing
buttons: et2_dialog.BUTTONS_OK_CANCEL, buttons: et2_dialog.BUTTONS_OK_CANCEL,
title: 'Print', title: this.egw().lang('Print'),
template:this.egw().link(base_url+'/api/templates/default/nm_print_dialog.xet'), template:this.egw().link(base_url+'/api/templates/default/nm_print_dialog.xet'),
value: { value: {
content: { content: {

View File

@ -384,10 +384,13 @@ var et2_selectbox = (function(){ "use strict"; return et2_inputWidget.extend(
var header_controls = { var header_controls = {
check: { check: {
icon_class: 'ui-icon-check', icon_class: 'ui-icon-check',
label: 'Check all', label: this.egw().lang('Check all'),
click: function(e) { click: function(e) {
var all_set = jQuery("input[type='checkbox']",e.data).prop("checked"); var all_off = false;
jQuery("input[type='checkbox']",e.data).prop("checked", !all_set); jQuery("input[type='checkbox']",e.data).each(function() {
if(!jQuery(this).prop("checked")) all_off = true;
});
jQuery("input[type='checkbox']",e.data).prop("checked", all_off);
} }
} }
}; };

View File

@ -284,6 +284,7 @@ collection listing common de Auflistung der Collection
colombia common de KOLUMBIEN colombia common de KOLUMBIEN
column... common de Spalte... column... common de Spalte...
columnname common de Spaltenname columnname common de Spaltenname
columns to print common de Spalten zum Drucken
command ⌘ common de Cmd ⌘ command ⌘ common de Cmd ⌘
comment common de Kommentar comment common de Kommentar
common preferences common de Allgemeine Einstellungen common preferences common de Allgemeine Einstellungen
@ -629,6 +630,7 @@ how many days to sync in the future (default %1) groupdav de Wie viele Tage soll
how many days to sync in the past (default %1) groupdav de Wie viele Tage soll in die Vergangenheit gesynced werden (Vorgabe %1) how many days to sync in the past (default %1) groupdav de Wie viele Tage soll in die Vergangenheit gesynced werden (Vorgabe %1)
how many entries should the list show common de Wie viele Einträge soll die Liste anzeigen how many entries should the list show common de Wie viele Einträge soll die Liste anzeigen
how many icons should be shown in the navbar (top of the page). additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar. common de Wie viele Icons sollen in der Navigation angezeigt werden (die obere Navigation). Weitere Applikationen werden über ein Auswahlmenü angeboten. Das Auswahlmenü kann über das rechte Icon geöffnet werden how many icons should be shown in the navbar (top of the page). additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar. common de Wie viele Icons sollen in der Navigation angezeigt werden (die obere Navigation). Weitere Applikationen werden über ein Auswahlmenü angeboten. Das Auswahlmenü kann über das rechte Icon geöffnet werden
how many rows to print common de Zeilen zum Drucken
how to show the general egroupware menu ? common de Wie soll das allgemeine EGroupware Menü angezeigt werden? how to show the general egroupware menu ? common de Wie soll das allgemeine EGroupware Menü angezeigt werden?
html common de HTML html common de HTML
html link to the current record common de HTML-Link zum aktuellen Eintrag. html link to the current record common de HTML-Link zum aktuellen Eintrag.

View File

@ -284,6 +284,7 @@ collection listing common en Collection listing
colombia common en COLOMBIA colombia common en COLOMBIA
column... common en Column... column... common en Column...
columnname common en Column name columnname common en Column name
columns to print common en Columns to print
command ⌘ common en Command ⌘ command ⌘ common en Command ⌘
comment common en Comment comment common en Comment
common preferences common en Common preferences common preferences common en Common preferences
@ -631,6 +632,7 @@ how many days to sync in the future (default %1) groupdav en How many days to sy
how many days to sync in the past (default %1) groupdav en How many days to sync in the past (default %1) how many days to sync in the past (default %1) groupdav en How many days to sync in the past (default %1)
how many entries should the list show common en How many entries should the list show how many entries should the list show common en How many entries should the list show
how many icons should be shown in the navbar (top of the page). additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar. common en How many icons should be shown in the top navigation bar. Additional icons go into a pull down menu, callable by the icon on the far right side of the navigation bar. how many icons should be shown in the navbar (top of the page). additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar. common en How many icons should be shown in the top navigation bar. Additional icons go into a pull down menu, callable by the icon on the far right side of the navigation bar.
how many rows to print common en How many rows to print
how to show the general egroupware menu ? common en How to show the general EGroupware menu how to show the general egroupware menu ? common en How to show the general EGroupware menu
html common en HTML html common en HTML
html link to the current record common en HTML link to the current record html link to the current record common en HTML link to the current record

View File

@ -4,7 +4,8 @@
<overlay> <overlay>
<template id="nm_print_dialog" template="" lang="" group="0" version="16.1"> <template id="nm_print_dialog" template="" lang="" group="0" version="16.1">
<vbox> <vbox>
<select id="columns" label="Columns to print" rows="8" selected_first="false"/> <description value="Columns to print"/>
<select id="columns" rows="8" selected_first="false"/>
<integer id="row_count" label="How many rows to print"/> <integer id="row_count" label="How many rows to print"/>
</vbox> </vbox>
</template> </template>