function (a, success) {
            if (success) {
              that.notify('Post deleted.')
              // update the ui to reflect model changes.
              var deleteThisNode = evt.target.parentNode
              deleteThisNode.parentNode.removeChild(deleteThisNode)
              kb.removeMany(deleteMe)
            } else {
              that.notify('Oops, there was a problem, please try again')
              evt.target.disabled = true
            }
          }
function (a, success) {
            if (success) {
              that.notify('Post deleted.')
              
              var deleteThisNode = evt.target.parentNode
              deleteThisNode.parentNode.removeChild(deleteThisNode)
              kb.removeMany(deleteMe)
            } else {
              that.notify('Oops, there was a problem, please try again')
              evt.target.disabled = true
            }
          }
function ( a , success ) { if ( success ) { that . notify ( 'Post deleted.' ) // update the ui to reflect model changes. var deleteThisNode = evt . target . parentNode deleteThisNode . parentNode . removeChild ( deleteThisNode ) kb . removeMany ( deleteMe ) } else { that . notify ( 'Oops, there was a problem, please try again' ) evt . target . disabled = true } }
callback after deletion
callback after deletion