From 21c271cd899a68a25bb3a67b31dcea3760b6b14d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 4 Jun 2021 10:28:37 +0900
Subject: [PATCH] officejs: fix typo

---
 .../web_page_module/gadget_officejs_jio_precachestorage_js.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_precachestorage_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_precachestorage_js.js
index 72f80673c2..532d8c392e 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_precachestorage_js.js
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_precachestorage_js.js
@@ -110,7 +110,7 @@
         for (i = 0; i < relative_url_list.length; i += 1) {
           url = relative_url_list[i];
           if (url.includes('?')) {
-            throw new Error("It is not allow to cache urls with parameters." +
+            throw new Error("It is not allowed to cache urls with parameters." +
                             " url: " + url);
           }
           storage._relative_url_list.push(
-- 
2.30.9