Yuki Takei 7 лет назад
Родитель
Сommit
6c52be10e8
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      resource/js/app.js

+ 6 - 0
resource/js/app.js

@@ -181,6 +181,11 @@ if (pageEditorOptionsSelectorElem) {
   );
 }
 // render GrantSelector
+/*
+ * Commented out temporary -- 2018.05.21 Yuki Takei
+ *
+ *  err: Uncaught TypeError: Cannot read property 'textContent' of null
+ *
 const userRelatedGroups = JSON.parse(document.getElementById('user-related-group-data').textContent || '{}', (value) => {
   return new UserGroup(value);
 });
@@ -208,6 +213,7 @@ if (pageEditorGrantSelectorElem) {
     pageEditorGrantSelectorElem
   );
 }
+*/
 
 // render for admin
 const customCssEditorElem = document.getElementById('custom-css-editor');