changed module link of event_updates and my_company to home

This commit is contained in:
root 2011-06-13 18:34:38 +05:30
parent 5c520b6090
commit b2e8f0c132
2 changed files with 4 additions and 10 deletions

View File

@ -98,9 +98,3 @@ class DocType:
tot=flt(tot)+flt(d.total_tax_deposited)
self.doc.total_amount = flt(tot)
# on update
def on_update(self):
obj = get_obj('Feed Control', 'Feed Control')
obj.make_feed(self.doc)

View File

@ -23,7 +23,7 @@ MyProfile = function(wrapper) {
}
this.load_details = function() {
$c_page('event_updates','profile_settings','get_user_details','',function(r, rt) {
$c_page('home','profile_settings','get_user_details','',function(r, rt) {
me.form.set_values(r.message);
})
}
@ -46,7 +46,7 @@ MyProfile = function(wrapper) {
if(v) {
this.set_working();
var btn = this;
$c_page('event_updates','profile_settings','set_user_details',v,function(r, rt) {
$c_page('home','profile_settings','set_user_details',v,function(r, rt) {
btn.done_working();
})
}
@ -75,7 +75,7 @@ MyProfile = function(wrapper) {
msgprint('Passwords must match'); return;
}
this.set_working();
$c_page('event_updates','profile_settings','change_password',v,function(r,rt) {
$c_page('home','profile_settings','change_password',v,function(r,rt) {
if(!r.message && r.exc) { msgprint(r.exc); return; }
d.hide();
})
@ -112,4 +112,4 @@ pscript.user_image_upload = function(fid) {
pscript.myprofile.change_dialog.hide();
set_user_img(pscript.myprofile.img, user, null, fid);
}
}
}