Sbisson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/213792
Change subject: Watch and unwatch had the no-js experience
......................................................................
Watch and unwatch had the no-js experience
Due to a small javascript error, the watch and unwatch
were following the anchor tag and providing the no-js
experience.
Change-Id: I000395606aa1a90934f443d44a6613bad6113ac1
---
M modules/engine/misc/flow-api.js
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/92/213792/1
diff --git a/modules/engine/misc/flow-api.js b/modules/engine/misc/flow-api.js
index 1256d80..644dd2c 100644
--- a/modules/engine/misc/flow-api.js
+++ b/modules/engine/misc/flow-api.js
@@ -240,7 +240,9 @@
// We will do a separate view request afterwards, so we don't
want view data
// to be returned from POST.
// Can be removed when
Iddd999536d1c37eedf5c61938e0c2b2f4bc66827 is merged.
- queryMap[apiTransformMap[queryMap.submodule][0] +
'metadataonly'] = true;
+ if (apiTransformMap[queryMap.submodule]) {
+ queryMap[apiTransformMap[queryMap.submodule][0] +
'metadataonly'] = true;
+ }
// Default action is flow
queryMap.action = queryMap.action || 'flow';
--
To view, visit https://gerrit.wikimedia.org/r/213792
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I000395606aa1a90934f443d44a6613bad6113ac1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Sbisson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits