Skip to content

Commit

Permalink
release 0.47.6
Browse files Browse the repository at this point in the history
  • Loading branch information
oetiker committed Oct 24, 2023
1 parent 257a007 commit acbe380
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.47.6 2023-10-24 10:50:48 +0200 Tobias Oetiker <tobi@oetiker.ch>

- fix event ordering problem on ios and android
- add longer timeout for downloads and views

0.47.5 2023-10-19 14:06:22 +0200 Tobias Oetiker <tobi@oetiker.ch>

- ios compatiblity issue can not easily be fixed outside qx
Expand Down
2 changes: 1 addition & 1 deletion lib/CallBackery.pm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use CallBackery::Plugin::Doc;
use CallBackery::Database;
use CallBackery::User;

our $VERSION = '0.47.5';
our $VERSION = '0.47.6';


=head2 config
Expand Down
2 changes: 1 addition & 1 deletion lib/CallBackery/User.pm
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ has cookieConf => sub {
return {};
}

if ($paramCookie and gettimeofday() - $conf->{t} > 2.0){
if ($paramCookie and gettimeofday() - $conf->{t} > 10.0){
$self->log->debug(qq{Cookie is expired});
die mkerror(38445,"cookie has expired");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,15 @@ qx.Class.define("callbackery.ui.plugin.Action", {
this._defaultAction = action;
}
if (button) {
// in ios/android buttons do not necessarily get focus when clicked
// so we need to do it manually
let os = qx.core.Environment.get('os.name');
if (os == 'android' || os == 'ios'){
let orig_action = action;
action = () => {
setTimeout(orig_action.bind(this),1);
}
}
button.addListener('execute', action, this);
if (btCfg.addToMenu) {
menues[btCfg.addToMenu].add(button);
Expand Down

0 comments on commit acbe380

Please sign in to comment.