further fixes

This commit is contained in:
Anand Doshi
2012-04-12 17:51:53 +05:30
parent 25bc68c7b2
commit 09e8c4cd2d
22 changed files with 24 additions and 1758 deletions

View File

@@ -71,7 +71,7 @@ cur_frm.cscript.onload = function(doc, dt, dn) {
}
}
lst.make(cur_frm.fields_dict['Updates HTML'].wrapper);
lst.make(cur_frm.fields_dict['updates_html'].wrapper);
cur_frm.mylist = lst;
lst.run();
}
@@ -81,7 +81,7 @@ cur_frm.cscript.refresh = function(doc, dt, dn) {
// show activities only after project is saved
var fl = ['new_update','Add','hours','Updates HTML'];
var fl = ['new_update','add','hours','updates_html'];
if(doc.__islocal) {
hide_field(fl);}
else {
@@ -96,4 +96,4 @@ cur_frm.cscript.add = function(doc, dt, dn) {
}
$c_obj([doc],'add_update','',callback);
}
}