mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
(js) Update raw source when editing a draft
This commit is contained in:
@@ -269,9 +269,9 @@
|
||||
}
|
||||
|
||||
function toggleRawSource($event) {
|
||||
if (!vm.showRawSource && !vm.rawSource) {
|
||||
if (!vm.showRawSource && !vm.message.$rawSource) {
|
||||
Message.$$resource.post(vm.message.id, "viewsource").then(function(data) {
|
||||
vm.rawSource = data;
|
||||
vm.message.$rawSource = data;
|
||||
vm.showRawSource = true;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user