prevent the execution of function from double click
<p>when on button click this function is called     </p>

<pre><code>save_edit: function() {

    this.do_save();

},
</code></pre>

<p>I am trying to disable a button once it is clicked to prevent double clicks. How can I do it within this function?</p>
