Revision 54200
Added by Miriam Baglioni over 5 years ago
timeline.js | ||
---|---|---|
3290 | 3290 |
* Delete an item after a confirmation. |
3291 | 3291 |
* The deletion can be cancelled by executing .cancelDelete() during the |
3292 | 3292 |
* triggered event 'delete'. |
3293 |
* @param {int} index Index of the item to be deleted
|
|
3293 |
* @param {int} index index of the item to be deleted
|
|
3294 | 3294 |
*/ |
3295 | 3295 |
links.Timeline.prototype.confirmDeleteItem = function(index) { |
3296 | 3296 |
this.applyDelete = true; |
... | ... | |
3314 | 3314 |
|
3315 | 3315 |
/** |
3316 | 3316 |
* Delete an item |
3317 |
* @param {int} index Index of the item to be deleted
|
|
3317 |
* @param {int} index index of the item to be deleted
|
|
3318 | 3318 |
* @param {boolean} [preventRender=false] Do not re-render timeline if true |
3319 | 3319 |
* (optimization for multiple delete) |
3320 | 3320 |
*/ |
Also available in: Unified diff
fixed bugs