* set operator on record load
* adds translation for 'or' operator
https://forge.tine20.org/view.php?id=11930
Change-Id: I7a0f0fdcb7e3315792460e4883bb5eadce01dd31
Reviewed-on: http://gerrit.tine20.com/customers/3226
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
this.window.setTitle(title);
this.getForm().loadRecord(this.record);
+
+ this.conditionsPanel.conjunctionOperator = this.record.get('conjunction') == 'anyof' ? 'or' : 'and';
this.loadMask.hide();
},
/**
* returns dialog
*
- * NOTE: when this method gets called, all initalisation is done.
+ * NOTE: when this method gets called, all initialization is done.
*
* @return {Object}
* @private
*
* @type String
*/
- conjunctionOperator: 'and', // _('and')
-
+ conjunctionOperator: 'and',
+ // _('and')
+ // _('or')
+
header: false,
border: false,
monitorResize: true,
msgid "and"
msgstr "und"
+#: js/widgets/grid/FilterToolbar.js:113
+msgid "or"
+msgstr "oder"
+
#: js/widgets/grid/FilterToolbar.js:178
msgid "add new filter"
msgstr "neuen Filter hinzufügen"