mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Read-only text widget's save() should return null.
This commit is contained in:
parent
9b73da1d54
commit
7be127512b
@ -352,7 +352,8 @@ IPA.text_widget = function(spec) {
|
||||
|
||||
that.save = function() {
|
||||
if (that.read_only || !that.writable) {
|
||||
return that.values;
|
||||
return null;
|
||||
|
||||
} else {
|
||||
var input = $('input[name="'+that.name+'"]', that.container);
|
||||
var value = $.trim(input.val());
|
||||
|
Loading…
Reference in New Issue
Block a user