tandraschko commented on code in PR #539:
URL: https://github.com/apache/myfaces/pull/539#discussion_r1120040328


##########
api/src/client/typescript/faces/impl/AjaxImpl.ts:
##########
@@ -208,7 +208,7 @@ export module Implementation {
 
         /* run through all script tags and try to find the one that includes 
faces.js */
         const foundStage = ExtDomQuery.searchJsfJsFor(/stage=([^&;]*)/).value 
as string;
-        return (foundStage in ProjectStages) ? foundStage : 
ProjectStages.Production; // MYFACES-4572: default is production
+        return (foundStage in ProjectStages) ? foundStage : null;

Review Comment:
   @werpu why you dont work on a MF core fork? We cant expect that everyone 
clones 2 repos for a change in MF core



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to