separated query-report and added module marker to appframe

This commit is contained in:
Rushabh Mehta
2012-10-02 14:56:41 +05:30
parent beb3a872ce
commit 9d1faea10c
8 changed files with 130 additions and 134 deletions

View File

@@ -15,8 +15,8 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
pscript['onload_accounts-home'] = function(wrapper) {
erpnext.module_page.setup_page('Accounts', wrapper);
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Accounts');
erpnext.module_page.setup_page('Accounts', wrapper);
if(wn.control_panel.country!='India') {
$('.india-specific').toggle(false);