projects
/
Pman.Admin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync
[Pman.Admin]
/
Pman.Dialog.Groups.js
diff --git
a/Pman.Dialog.Groups.js
b/Pman.Dialog.Groups.js
index
80c8d56
..
08a0ce3
100644
(file)
--- a/
Pman.Dialog.Groups.js
+++ b/
Pman.Dialog.Groups.js
@@
-12,7
+12,7
@@
Pman.Dialog.Groups = {
return;
}
var _this = this;
return;
}
var _this = this;
- this.dialog = new
Ext.LayoutDialog(Ext
.get(document.body).createChild({tag:'div'}), {
+ this.dialog = new
Roo.LayoutDialog(Roo
.get(document.body).createChild({tag:'div'}), {
autoCreated: true,
title: 'edit team',
modal: true,
autoCreated: true,
title: 'edit team',
modal: true,
@@
-42,7
+42,7
@@
Pman.Dialog.Groups = {
- this.form = new
Ext
.form.Form({
+ this.form = new
Roo
.form.Form({
labelWidth: 250 ,
listeners : {
actionfailed : function(f, act) {
labelWidth: 250 ,
listeners : {
actionfailed : function(f, act) {
@@
-101,13
+101,13
@@
Pman.Dialog.Groups = {
allowBlank : true,
width: 280,
allowBlank : true,
width: 280,
- store: new
Ext
.data.Store({
+ store: new
Roo
.data.Store({
// load using HTTP
// load using HTTP
- proxy: new
Ext
.data.HttpProxy({
+ proxy: new
Roo
.data.HttpProxy({
url: baseURL + '/Roo/core_person',
method: 'GET'
}),
url: baseURL + '/Roo/core_person',
method: 'GET'
}),
- reader:
Pman.Readers.Person
,
+ reader:
new Roo.data.JsonReader({}, [])
,
listeners : {
beforeload : function(st,o)
{
listeners : {
beforeload : function(st,o)
{
@@
-139,7
+139,7
@@
Pman.Dialog.Groups = {
//mode: 'local',
triggerAction: 'all',
//mode: 'local',
triggerAction: 'all',
- tpl: new
Ext
.Template(
+ tpl: new
Roo
.Template(
'<div class="x-grid-cell-text x-btn button">',
'<b>{name}</b> {role}',
'</div>'
'<div class="x-grid-cell-text x-btn button">',
'<b>{name}</b> {role}',
'</div>'
@@
-172,7
+172,7
@@
Pman.Dialog.Groups = {
this.form.render(ef.dom);
this.form.render(ef.dom);
- var vp = this.dialog.getLayout().add('center', new
Ext
.ContentPanel(ef, {
+ var vp = this.dialog.getLayout().add('center', new
Roo
.ContentPanel(ef, {
autoCreate : true,
//title: 'Org Details',
//toolbar: this.tb,
autoCreate : true,
//title: 'Org Details',
//toolbar: this.tb,
@@
-198,9
+198,9
@@
Pman.Dialog.Groups = {
this.dialog.show();
this.dialog.setTitle(data.type ? "Edit Group" : "Edit Team");
this.dialog.show();
this.dialog.setTitle(data.type ? "Edit Group" : "Edit Team");
- var lw =
Ext
.get(this.form.findField('leader').el.dom.parentNode.parentNode.parentNode);
+ var lw =
Roo
.get(this.form.findField('leader').el.dom.parentNode.parentNode.parentNode);
// change the label!?!!?
// change the label!?!!?
- lw.setVisibilityMode(
Ext
.Element.DISPLAY);
+ lw.setVisibilityMode(
Roo
.Element.DISPLAY);
if (this.data.type) {
// show the leader..
lw.show();
if (this.data.type) {
// show the leader..
lw.show();
@@
-222,7
+222,7
@@
Pman.Dialog.Groups = {
save : function()
{
this.form.doAction('submit', {
save : function()
{
this.form.doAction('submit', {
- url: baseURL + '/Roo/
Groups
.php',
+ url: baseURL + '/Roo/
core_group
.php',
method: 'POST',
params: {
_id: this._id ,
method: 'POST',
params: {
_id: this._id ,