Use boolean type to toggle URL button visibility
Closes #13399 (grafted from 150aced210a6296d1bb0a8b3931d3618a099cefd) --HG-- branch : 7.0
This commit is contained in:
@@ -4598,7 +4598,7 @@ function eval_pyson(value){
|
||||
},
|
||||
set_url: function(value) {
|
||||
this.button.attr('href', value);
|
||||
this.button.toggle(value);
|
||||
this.button.toggle(Boolean(value));
|
||||
},
|
||||
set_invisible: function(invisible) {
|
||||
Sao.View.Form.URL._super.set_invisible.call(this, invisible);
|
||||
|
||||
Reference in New Issue
Block a user