diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/documentwidget.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 363dd357..2d4b6b1c 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2883,6 +2883,11 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd) | |||
2883 | } | 2883 | } |
2884 | else if (equal_Command(cmd, "document.reload") && document_Command(cmd) == d) { | 2884 | else if (equal_Command(cmd, "document.reload") && document_Command(cmd) == d) { |
2885 | d->initNormScrollY = normScrollPos_DocumentWidget_(d); | 2885 | d->initNormScrollY = normScrollPos_DocumentWidget_(d); |
2886 | if (equalCase_Rangecc(urlScheme_String(d->mod.url), "titan")) { | ||
2887 | /* Reopen so the Upload dialog gets shown. */ | ||
2888 | postCommandf_App("open url:%s", cstr_String(d->mod.url)); | ||
2889 | return iTrue; | ||
2890 | } | ||
2886 | fetch_DocumentWidget_(d); | 2891 | fetch_DocumentWidget_(d); |
2887 | return iTrue; | 2892 | return iTrue; |
2888 | } | 2893 | } |