diff --git a/api/js/etemplate/et2_widget_favorites.js b/api/js/etemplate/et2_widget_favorites.js index 3ae3c33e07..7cf83cd7f8 100644 --- a/api/js/etemplate/et2_widget_favorites.js +++ b/api/js/etemplate/et2_widget_favorites.js @@ -23,6 +23,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_favorites = void 0; /*egw:uses et2_dropdown_button; et2_extension_nextmatch; @@ -344,5 +345,6 @@ var et2_favorites = /** @class */ (function (_super) { et2_favorites.PREFIX = "favorite_"; return et2_favorites; }(et2_widget_dropdown_button_1.et2_dropdown_button)); +exports.et2_favorites = et2_favorites; et2_core_widget_1.et2_register_widget(et2_favorites, ["favorites"]); //# sourceMappingURL=et2_widget_favorites.js.map \ No newline at end of file diff --git a/api/js/etemplate/et2_widget_favorites.ts b/api/js/etemplate/et2_widget_favorites.ts index 89336232c8..7c7ab3176a 100644 --- a/api/js/etemplate/et2_widget_favorites.ts +++ b/api/js/etemplate/et2_widget_favorites.ts @@ -46,7 +46,7 @@ import {ClassWithAttributes} from "./et2_core_inheritance"; * * @augments et2_dropdown_button */ -class et2_favorites extends et2_dropdown_button implements et2_INextmatchHeader +export class et2_favorites extends et2_dropdown_button implements et2_INextmatchHeader { static readonly _attributes : any = { "default_pref": { diff --git a/api/js/jsapi/egw_app.js b/api/js/jsapi/egw_app.js index 566ab641f6..f6a69568ee 100644 --- a/api/js/jsapi/egw_app.js +++ b/api/js/jsapi/egw_app.js @@ -19,6 +19,7 @@ var etemplate2_1 = require("../etemplate/etemplate2"); var et2_extension_nextmatch_1 = require("../etemplate/et2_extension_nextmatch"); var et2_widget_dialog_1 = require("../etemplate/et2_widget_dialog"); var et2_core_widget_1 = require("../etemplate/et2_core_widget"); +var et2_widget_favorites_1 = require("../etemplate/et2_widget_favorites"); /** * Common base class for application javascript * Each app should extend as needed. @@ -55,10 +56,19 @@ var EgwApp = /** @class */ (function () { * is not yet ready. */ function EgwApp(appname) { + /** + * PGP begin and end tags + */ + this.begin_pgp_message = '-----BEGIN PGP MESSAGE-----'; + this.end_pgp_message = '-----END PGP MESSAGE-----'; /** * Mailvelope "egroupware" Keyring */ this.mailvelope_keyring = undefined; + /** + * jQuery selector for Mailvelope iframes in all browsers + */ + this.mailvelope_iframe_selector = 'iframe[src^="chrome-extension"],iframe[src^="about:blank?mvelo"]'; this.appname = appname; this.egw = egw(this.appname, window); // Initialize sidebox for non-popups. @@ -330,7 +340,7 @@ var EgwApp = /** @class */ (function () { if (button_id != et2_widget_dialog_1.et2_dialog.NO_BUTTON) { that._do_action(action_id, _elems); } - }, confirm_msg, egw.lang('Confirmation required'), et2_widget_dialog_1.et2_dialog.BUTTONS_YES_NO, et2_widget_dialog_1.et2_dialog.QUESTION_MESSAGE); + }, confirm_msg, egw.lang('Confirmation required'), null, et2_widget_dialog_1.et2_dialog.BUTTONS_YES_NO, et2_widget_dialog_1.et2_dialog.QUESTION_MESSAGE); } else if (typeof this._do_action == 'function') { this._do_action(_action.id, _elems); @@ -674,7 +684,7 @@ var EgwApp = /** @class */ (function () { var add_to_popup = function (arr) { filter_list.push("