mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-07 12:35:27 +00:00
fix(web(js)): remove calls to deprecated functions in ng-material
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
|
||||
$mdToast.show(
|
||||
$mdToast.simple()
|
||||
.content(msg)
|
||||
.textContent(msg)
|
||||
.position('top right')
|
||||
.hideDelay(3000));
|
||||
},
|
||||
@@ -335,7 +335,7 @@
|
||||
AddressBook.$subscribe(addressbookData.owner, addressbookData.name).then(function(data) {
|
||||
$mdToast.show(
|
||||
$mdToast.simple()
|
||||
.content(l('Successfully subscribed to address book'))
|
||||
.textContent(l('Successfully subscribed to address book'))
|
||||
.position('top right')
|
||||
.hideDelay(3000));
|
||||
});
|
||||
@@ -363,7 +363,7 @@
|
||||
if (cards.length != allCards.length)
|
||||
$mdToast.show(
|
||||
$mdToast.simple()
|
||||
.content(l("Lists can't be moved or copied."))
|
||||
.textContent(l("Lists can't be moved or copied."))
|
||||
.position('top right')
|
||||
.hideDelay(2000));
|
||||
|
||||
@@ -386,7 +386,7 @@
|
||||
$state.go('app.addressbook');
|
||||
$mdToast.show(
|
||||
$mdToast.simple()
|
||||
.content(success)
|
||||
.textContent(success)
|
||||
.position('top right')
|
||||
.hideDelay(2000));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user