fix: Sider Issues
This commit is contained in:
parent
ee2e4e2bf3
commit
81047bb1d7
1 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ frappe.ui.form.ControlData = frappe.ui.form.ControlInput.extend({
|
|||
setTimeout(() => {
|
||||
let inputValue = this.get_input_value();
|
||||
|
||||
if(inputValue && validate_url(inputValue)) {
|
||||
if (inputValue && validate_url(inputValue)) {
|
||||
this.$link.toggle(true);
|
||||
this.$link_open.attr('href', this.get_input_value());
|
||||
}
|
||||
|
|
@ -93,7 +93,7 @@ frappe.ui.form.ControlData = frappe.ui.form.ControlInput.extend({
|
|||
this.$input.bind("input", () => {
|
||||
let inputValue = this.get_input_value();
|
||||
|
||||
if(inputValue && validate_url(inputValue)) {
|
||||
if (inputValue && validate_url(inputValue)) {
|
||||
this.$link.toggle(true);
|
||||
this.$link_open.attr('href', this.get_input_value());
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue