From d9c37074ce57baf5d826b2e32ac0d88404a905e4 Mon Sep 17 00:00:00 2001 From: nabinhait Date: Fri, 17 Jun 2011 17:09:15 +0530 Subject: [PATCH] changes related to my_company page moved to home --- knowledge_base/page/questions/questions.py | 4 ++-- startup/startup.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/knowledge_base/page/questions/questions.py b/knowledge_base/page/questions/questions.py index d87579fa7dc..cbb6a252cf5 100644 --- a/knowledge_base/page/questions/questions.py +++ b/knowledge_base/page/questions/questions.py @@ -13,7 +13,7 @@ def add_question(arg): d.save(1) if args['suggest']: - from my_company.page.my_company.my_company import post_comment + from home.page.my_company.my_company import post_comment for s in args['suggest']: if s: post_comment({ @@ -34,4 +34,4 @@ def vote(arg): webnotes.conn.sql("update `tab%s` set points=%s, _users_voted=%s where name=%s" % (args['dt'], '%s', '%s', '%s'), \ (p, cstr(res[1]) + ',' + webnotes.user.name, args['dn'])) - return p \ No newline at end of file + return p diff --git a/startup/startup.js b/startup/startup.js index 3de570db41c..97a075cc366 100644 --- a/startup/startup.js +++ b/startup/startup.js @@ -1,4 +1,4 @@ -if(user == 'Guest'){ +fif(user == 'Guest'){ $dh(page_body.left_sidebar); } @@ -476,7 +476,7 @@ pscript.go_to_account_settings = function() { else { msgprint('' + 'Click here to open Account Settings in a new page') } } - $c_page('my_company', 'my_company', 'get_account_settings_url', '', callback) + $c_page('home', 'my_company', 'get_account_settings_url', '', callback) } // chart of accounts