mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 06:36:52 +00:00
1 parent
153c1eeb80
commit
1786ec4d59
2 files changed
+17
-1
No files matched your search
@@ -209,6 +209,15 @@
|
||||
$mdDialog.hide();
|
||||
}
|
||||
|
||||
// Fix for https://www.sogo.nu/bugs/view.php?id=4666
|
||||
this.ignoreReturn = function ($event) {
|
||||
if ($event.keyCode == 13) {
|
||||
$event.stopPropagation();
|
||||
$event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
this.save = function (options) {
|
||||
var ctrls = $parentControllers();
|
||||
this.message.$save().then(function() {
|
||||
|
||||
Reference in new issue
Block a user