merge whitespace
This commit is contained in:
commit
37cd700e08
4 changed files with 6 additions and 1 deletions
|
|
@ -250,6 +250,7 @@ wn.datetime.time_to_hhmm = function(hh,mm,am) {
|
|||
}
|
||||
if(!mm) mm='00';
|
||||
if(!hh) hh='00';
|
||||
|
||||
return hh + ':' + mm;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -454,6 +454,9 @@ DataField.prototype.make_input = function() {
|
|||
response(r.results);
|
||||
}
|
||||
});
|
||||
},
|
||||
select: function(event, ui) {
|
||||
me.set(ui.item.value);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ class DocType:
|
|||
fieldnames = {}
|
||||
illegal = ['.', ',', ' ', '-', '&', '%', '=', '"', "'", '*', '$']
|
||||
for d in self.doclist:
|
||||
if not d.permlevel: d.permlevel = 0
|
||||
if d.parent and d.fieldtype and d.parent == self.doc.name:
|
||||
# check if not double
|
||||
if d.fieldname:
|
||||
|
|
|
|||
2
wnf.py
2
wnf.py
|
|
@ -162,7 +162,7 @@ def run():
|
|||
webnotes.connect(options.db_name, options.password)
|
||||
else:
|
||||
webnotes.connect(options.db_name)
|
||||
elif not options.install:
|
||||
elif not any([options.install, options.pull]):
|
||||
webnotes.connect(conf.db_name)
|
||||
|
||||
# build
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue