changes related to my_company page moved to home

This commit is contained in:
nabinhait 2011-06-17 17:09:15 +05:30
parent 10dc6be450
commit d9c37074ce
2 changed files with 4 additions and 4 deletions

View File

@ -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
return p

View File

@ -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('<a href="' + r.message + '" target="_blank">'
+ 'Click here to open Account Settings in a new page</a>') }
}
$c_page('my_company', 'my_company', 'get_account_settings_url', '', callback)
$c_page('home', 'my_company', 'get_account_settings_url', '', callback)
}
// chart of accounts