[minor] autocomplete=off in input, for IE
This commit is contained in:
parent
0a376f7454
commit
d046507a4a
1 changed files with 2 additions and 1 deletions
|
|
@ -366,6 +366,7 @@ frappe.ui.form.ControlData = frappe.ui.form.ControlInput.extend({
|
|||
make_input: function() {
|
||||
this.$input = $("<"+ this.html_element +">")
|
||||
.attr("type", this.input_type)
|
||||
.attr("autocomplete", "off")
|
||||
.addClass("input-with-feedback form-control")
|
||||
.prependTo(this.input_area)
|
||||
|
||||
|
|
@ -1032,7 +1033,7 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
|
|||
make_input: function() {
|
||||
var me = this;
|
||||
$('<div class="link-field ui-front" style="position: relative;">\
|
||||
<input type="text" class="input-with-feedback form-control">\
|
||||
<input type="text" class="input-with-feedback form-control" autocomplete="off">\
|
||||
<span class="link-btn">\
|
||||
<a class="btn-open no-decoration" title="' + __("Open Link") + '">\
|
||||
<i class="icon-link"></i></a>\
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue