mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
entity select undo
Tests for dirty after the RPC call has completed and the select has updated Passes the original value to the RPC completion, so it isn't lost upon RPC completion https://fedorahosted.org/freeipa/ticket/1340
This commit is contained in:
parent
eacd33e88e
commit
0399c140d9
@ -1572,6 +1572,7 @@ IPA.entity_select_widget = function(spec) {
|
||||
option.attr('selected','selected');
|
||||
}
|
||||
}
|
||||
that.set_dirty(that.test_dirty());
|
||||
}
|
||||
function find_error(err){
|
||||
}
|
||||
@ -1600,8 +1601,7 @@ IPA.entity_select_widget = function(spec) {
|
||||
id: 'entity_filter',
|
||||
style: 'display: none;',
|
||||
keyup: function(){
|
||||
populate_select();
|
||||
that.set_dirty(that.test_dirty());
|
||||
populate_select($('option:selected', that.entity_select).val());
|
||||
}
|
||||
}).appendTo(container);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user