Changeset 33098 for main/trunk/greenstone3
- Timestamp:
- 2019-05-21T17:09:13+12:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/map-scripts-editor.js
r33096 r33098 119 119 120 120 var descriptionInput = document.getElementById("description" + "-" + this.id); 121 descriptionInput.oninput = function () { 121 // don't use oninput, use onchange, because with autocomplete a newly entered or pasted value 122 // doesn't always get stored properly when using oninput. 123 descriptionInput.onchange = function () { 122 124 that.shapeSpecsChangeOnInput(); // takes care of history (undo/redo) 123 125 var description = this.value;
Note:
See TracChangeset
for help on using the changeset viewer.