From b2e8f0c1323c32df4a9546e3695f8390d18d09be Mon Sep 17 00:00:00 2001 From: root Date: Mon, 13 Jun 2011 18:34:38 +0530 Subject: [PATCH] changed module link of event_updates and my_company to home --- accounts/doctype/form_16a/form_16a.py | 6 ------ home/page/profile_settings/profile_settings.js | 8 ++++---- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/accounts/doctype/form_16a/form_16a.py b/accounts/doctype/form_16a/form_16a.py index ef2c8acc1c..742c4540b3 100644 --- a/accounts/doctype/form_16a/form_16a.py +++ b/accounts/doctype/form_16a/form_16a.py @@ -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) diff --git a/home/page/profile_settings/profile_settings.js b/home/page/profile_settings/profile_settings.js index 0e452764fa..10b06d422a 100644 --- a/home/page/profile_settings/profile_settings.js +++ b/home/page/profile_settings/profile_settings.js @@ -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); } -} \ No newline at end of file +}