Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tandraschko committed Jun 24, 2017
1 parent 61ad3cc commit ac0e4e5
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,7 @@ PrimeFaces.widget.InputNumber = PrimeFaces.widget.BaseWidget.extend({
},

setValueToHiddenInput: function(value, triggerEvent) {
if (value !== "") {
this.hiddenInput.attr('value', value);
} else {
this.hiddenInput.removeAttr('value');
}
this.hiddenInput.val(value);

if (triggerEvent === true) {
this.hiddenInput.change();
Expand Down

0 comments on commit ac0e4e5

Please sign in to comment.