Skip to content

Commit a3a8c83

Browse files
committed
Support HTML editor when composing a new message
Add HTML/text switch button in the header Fix "show external image" problem when open a message from the list
1 parent c0e39cb commit a3a8c83

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

css/jquery_mobile.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/jquery_mobile.min.css

100644100755
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/mobile.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,14 @@ $(document).on("pagecreate", ".jqm-message", function() {
254254

255255
});
256256
$('.zipdownload').hide();
257+
$('#messagecontent .rightcol').hide();
258+
$('#messagebody img').each(function() {
259+
if ($(this).attr('src') == 'program/resources/blocked.gif') {
260+
$('#remote-objects-message').show();
261+
rcmail.enable_command('load-images', 'always-load', true);
262+
return;
263+
}
264+
});
257265
}
258266
});
259267

@@ -606,7 +614,7 @@ if (window.rcmail) {
606614
});
607615
$('#bounce_button_mobile').click(function() {
608616
$('#buttons-right-panel').panel("close");
609-
});
617+
});
610618
}
611619
else if (rcmail.env.task == 'addressbook'
612620
&& (!rcmail.env.action || rcmail.env.action == "")) {

js/mobile.min.js

100644100755
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mobile.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,6 @@ public function config_get($args) {
306306
case 'date_format' :
307307
$args['result'] = 'Y-m-d';
308308
break;
309-
case 'htmleditor' :
310-
$args['result'] = 0;
311-
break;
312309
}
313310
return $args;
314311
}

0 commit comments

Comments
 (0)