The article realizes the editing, the edit page is the right pop-up layer, when has the change to save, adds the Change event to the title of the article, changes the article (savearticle)
$ ("#title"). Change (function () {
Savearticle ();
})
When you click on an article, edit the changes no problem, when clicked on a meeting, the editor pop-up layer is not fully loaded, continuous click on the second, the third meeting and so on, then modify the title, then click on a few articles itle have been modified, there is a good big bug
Workaround: Before loading the change event, remove all binding events before loading the event:
$ ("#title"). Unbind ();
$ ("#title"). Change (function () {
Savearticle ();
})
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
A bug that modifies multiple records occurs when JavaScript is saved in real time