зеркало из https://github.com/microsoft/ace.git
Fixes #35: Doesn't work with Cordova Lib 4.0.1+
shouldOverrideLoadWithRequest must return true for normal HTML requests, although on earlier versions it must still return false!
This commit is contained in:
Родитель
d4fa2dd95e
Коммит
ed842b52b9
|
@ -47,7 +47,10 @@ BOOL _initialized;
|
|||
// Close all popups since this has been requested.
|
||||
[Popup CloseAll];
|
||||
}
|
||||
return false;
|
||||
|
||||
// Before Cordova 4.0, we must return false in order for HTML navigation to work.
|
||||
// Starting with Cordova 4.0, we must return true.
|
||||
return CORDOVA_VERSION_MIN_REQUIRED >= __CORDOVA_4_0_0;
|
||||
}
|
||||
|
||||
- (void)initialize:(CDVInvokedUrlCommand*)command {
|
||||
|
|
Загрузка…
Ссылка в новой задаче