Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Fix issues with updating inline editor when not visible #5899

Merged
merged 4 commits into from
Nov 9, 2013

Conversation

njx
Copy link

@njx njx commented Nov 8, 2013

This addresses the two issues mentioned in #5643 (the main bug and the one I noted in the comment). Note that to reproduce the original issue, you have to have at least three rules in the inline editor.

Note also that #5896 isn't caused by this pull request (it reproduces in sprint 33).

// called back right away. (The animation would happen later when we switch
// back to the editor.)
if (self.isFullyVisible()) {
console.log("animating removal");
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be removed, shouldn't it?

Copy link
Author

Choose a reason for hiding this comment

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

Good catch. Fixed.

@ghost ghost assigned redmunds Nov 8, 2013
self._codeMirror.removeLineWidget(inlineWidget.info);
self._removeInlineWidgetInternal(inlineWidget);
deferred.resolve();
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment again, this time in the pull request:

JSLint error on this line: Unexpected '(space)'.

Copy link
Author

Choose a reason for hiding this comment

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

Doh, fixed.

@redmunds
Copy link
Contributor

redmunds commented Nov 8, 2013

Done with review. Just 1 JSLint error.

@njx
Copy link
Author

njx commented Nov 9, 2013

Fixed JSLint error, ready for re-review

@redmunds
Copy link
Contributor

redmunds commented Nov 9, 2013

Merging.

redmunds added a commit that referenced this pull request Nov 9, 2013
Fix issues with updating inline editor when not visible
@redmunds redmunds merged commit c494e93 into master Nov 9, 2013
@redmunds redmunds deleted the nj/issue-5643 branch November 9, 2013 01:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants