added query report and cleaned up wn.ui.Dialog

This commit is contained in:
Rushabh Mehta
2012-10-01 14:46:37 +05:30
parent 3c04193afb
commit 2d700dd90d
9 changed files with 17 additions and 18 deletions

View File

@@ -120,7 +120,7 @@ Dashboard = function() {
},
show_settings: function() {
var d = new wn.widgets.Dialog({
var d = new wn.ui.Dialog({
title: 'Set Company Settings',
width: 500,
fields: [

View File

@@ -65,7 +65,7 @@ MyProfile = function(wrapper) {
//
this.make_form = function() {
var div = $a($td(this.tab, 0, 1), 'div');
this.form = new wn.widgets.FieldGroup()
this.form = new wn.ui.FieldGroup()
this.form.make_fields(div, [
{fieldname:'first_name', fieldtype:'Data',label:'First Name',reqd:1},
{fieldname:'last_name', fieldtype:'Data',label:'Last Name'},
@@ -89,7 +89,7 @@ MyProfile = function(wrapper) {
// change password
//
this.change_password = function() {
var d = new wn.widgets.Dialog({
var d = new wn.ui.Dialog({
title:'Change Password',
width: 400,
fields: [
@@ -121,7 +121,7 @@ MyProfile = function(wrapper) {
//
this.change_image = function() {
var d = new wn.widgets.Dialog({
var d = new wn.ui.Dialog({
title: 'Set your Profile'
});
@@ -142,7 +142,7 @@ MyProfile = function(wrapper) {
}
this.change_background = function() {
var d = new wn.widgets.Dialog({
var d = new wn.ui.Dialog({
title: 'Set Background Image'
})