Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-8725] Handling new window inside a modal window. #2087

Merged
merged 2 commits into from Apr 30, 2012

Conversation

srahim
Copy link
Contributor

@srahim srahim commented Apr 27, 2012

Make sure there are no regressions

*TESTING INSTRUCTIONS.
*TIMOB-8725
TEST FOR REGRESSIONS IN THE FOLLOWING TICKET
*TIMOB-7486 -- The sandwiched case still fails the same way.
*TIMOB-7627
*TIMOB-6551
*TIMOB-6391
*TIMOB-4619
*TIMOB-1634

This is PR throws out a warning when user try's to open a new window from within a model window. and possibly to correct the orientation is some cases(*NOT ALL).

@srahim
Copy link
Contributor Author

srahim commented Apr 27, 2012

Test in any/all orientation related tickets that seems relevant.

if([thisWindow modalFlagValue] == YES){
isInsideModalWindow = YES;
NSLog(@"[WARN] Trying to open a new window from within a Modal Window is unsupported.");

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to continue the loop when modal window is found. add break

@mstepanov
Copy link
Contributor

Code reviewed. APPROVED
Functional tests PASSED on iPhone 4S 5.1 , iPhoneSim 4.3 , iPad 3 5.1

mstepanov pushed a commit that referenced this pull request Apr 30, 2012
[TIMOB-8725] Handling new window inside a modal window.
@mstepanov mstepanov merged commit af75f69 into tidev:master Apr 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants