BUG 0000 improving code authentication Sources
fixed maxlength and it had an error of js
This commit is contained in:
@@ -21,7 +21,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '50'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -62,7 +62,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '50'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -78,7 +78,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'389',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '10', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '10', autocomplete: 'off', maxlength: '5'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -126,7 +126,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:sUID,
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '10', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '10', autocomplete: 'off', maxlength: '128'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -178,7 +178,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '128'},
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
c.getEl().on('keyup', function() {
|
||||
@@ -194,7 +194,7 @@ Ext.onReady(function(){
|
||||
inputType:'password',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '32'},
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
c.getEl().on('keyup', function() {
|
||||
@@ -210,7 +210,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'uid',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '50'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -241,7 +241,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '200'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
Ext.onReady(function(){
|
||||
|
||||
storeAuthSources = new Ext.data.GroupingStore({
|
||||
var storeAuthSources = new Ext.data.GroupingStore({
|
||||
autoLoad: true,
|
||||
proxy : new Ext.data.HttpProxy({
|
||||
url: 'authSources_Ajax?action=authSourcesNew&cmb=yes'
|
||||
@@ -36,14 +36,13 @@ var cboxAuthSourse = new Ext.form.ComboBox({
|
||||
//value: _('ID_ALL'),
|
||||
listeners:{
|
||||
select: function(c,d,i){
|
||||
store.setBaseParam('auths',d.data['sType']);
|
||||
UpdateAuthSource(d.data['sType']);
|
||||
//nothing to do
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
componAuthSourse = new Ext.form.FieldSet({
|
||||
title: 'Available Authentication Sourc',
|
||||
title: 'Available Authentication Sources',
|
||||
items: [
|
||||
cboxAuthSourse
|
||||
]
|
||||
|
||||
@@ -32,7 +32,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '50'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -73,7 +73,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '50'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -89,7 +89,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'389',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '10', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '10', autocomplete: 'off', maxlength: '5'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -137,7 +137,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '10', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '10', autocomplete: 'off', maxlength: '128'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -189,7 +189,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '128'},
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
c.getEl().on('keyup', function() {
|
||||
@@ -205,7 +205,7 @@ Ext.onReady(function(){
|
||||
inputType:'password',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '32'},
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
c.getEl().on('keyup', function() {
|
||||
@@ -221,7 +221,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'uid',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '50'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
@@ -252,7 +252,7 @@ Ext.onReady(function(){
|
||||
xtype:'textfield',
|
||||
value:'',
|
||||
width: 200,
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '13'},
|
||||
autoCreate: {tag: 'input', type: 'text', size: '20', autocomplete: 'off', maxlength: '200'},
|
||||
allowBlank: false,
|
||||
listeners: {
|
||||
'render': function(c) {
|
||||
|
||||
Reference in New Issue
Block a user