From 71acd9608034955228aa3ab274fb96cb56f206d4 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 20 Jul 2016 10:33:18 +0200 Subject: [PATCH] Open Office Editor W.I.P: - Get regex of odf mime type into widget context to be able to use it for all expose derived widgets --- api/js/etemplate/expose.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/js/etemplate/expose.js b/api/js/etemplate/expose.js index 818c7379ac..49603f3d1b 100644 --- a/api/js/etemplate/expose.js +++ b/api/js/etemplate/expose.js @@ -215,6 +215,7 @@ function expose (widget) { this._super.apply(this, arguments); this.mime_regexp = mime_regex; + this.mime_odf_regex = mime_odf_regex; var self=this; this.expose_options = { // The Id, element or querySelector of the gallery widget: