cocos2d/cocos2d-x — pull request #3987 by v1ctor (2013-10-21 17:51:21+00:00)
Title: Fix keyboard enabled flag

This function setKeyboardEnabled(bool enabled) don't work when layer shows the second time, but keyboard listener is removed in function onExit().