Pwirth has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383571 )

Change subject: Fixed BlueSpicePageTemplates after move
......................................................................

Fixed BlueSpicePageTemplates after move

* fixed extension registration and path
* added extjs autoloader path

Change-Id: If1af78bc0a18a36d87e5be8de5bf49fba9d599fb
---
M extension.json
M resources/bluespice.pageTemplates.js
2 files changed, 6 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpicePageTemplates 
refs/changes/71/383571/1

diff --git a/extension.json b/extension.json
index fb32e8c..36eefef 100644
--- a/extension.json
+++ b/extension.json
@@ -10,9 +10,9 @@
        "descriptionmsg": "bs-pagetemplates-desc",
        "type": "bluespice",
        "bsgExtensions": {
-               "PageTemplates": {
+               "BlueSpicePageTemplates": {
                        "className": "PageTemplates",
-                       "extPath": "/BlueSpiceExtensions/PageTemplates"
+                       "extPath": "/BlueSpicePageTemplates"
                }
        },
        "APIModules": {
diff --git a/resources/bluespice.pageTemplates.js 
b/resources/bluespice.pageTemplates.js
index 861a880..1c99cb9 100644
--- a/resources/bluespice.pageTemplates.js
+++ b/resources/bluespice.pageTemplates.js
@@ -11,6 +11,10 @@
  */
 
 Ext.onReady( function(){
+       Ext.Loader.setPath(
+               'BS.PageTemplates',
+               bs.em.paths.get( 'BlueSpicePageTemplates' ) + 
'/resources/BS.PageTemplates'
+       );
        Ext.create( 'BS.PageTemplates.Panel', {
                renderTo: 'bs-pagetemplates-grid'
        } );

-- 
To view, visit https://gerrit.wikimedia.org/r/383571
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If1af78bc0a18a36d87e5be8de5bf49fba9d599fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpicePageTemplates
Gerrit-Branch: master
Gerrit-Owner: Pwirth <wi...@hallowelt.biz>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to