mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-25 15:41:42 +00:00
add authentication check for popup & add notification(clipboarded)
This commit is contained in:
@@ -13,16 +13,6 @@ angular.module('codexen')
|
||||
vm.isLoaded = true
|
||||
})
|
||||
|
||||
// TODO: When deletion occurs, switch the next snippet
|
||||
// TODO: Add deletion confirmation modal
|
||||
vm.delete = function () {
|
||||
Snippet.delete(vm.snippet.id)
|
||||
.success(function () {
|
||||
$rootScope.$broadcast('snippetDeleted')
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
$scope.$on('taggingRequested', function (e) {
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
|
||||
Reference in New Issue
Block a user