mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
Update image icons in left list when icon changes.
This commit is contained in:
@@ -59,7 +59,9 @@ function applyEditorBindingsForObject(div, obj) {
|
||||
function applyCommonEditorBindings(div, obj, dataStore) {
|
||||
applyEditorBindingsForObject(div, obj);
|
||||
if (dataStore) {
|
||||
div.find("#" + dataStore.nameField).change(function() { dataStore.onNameChanged(obj, $(this).val()); });
|
||||
div.find("input").change(function() {
|
||||
dataStore.onPropertyChanged(obj, $(this).attr('id'), $(this).val());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user