PM-864, PM-865, PM-805 y PM-1848
causa : Definida previamente asi. solucion : Redefinicion y ajustes.
This commit is contained in:
@@ -289,7 +289,11 @@ clientSetup.application = {
|
|||||||
id: "txtName",
|
id: "txtName",
|
||||||
name: "txtName",
|
name: "txtName",
|
||||||
|
|
||||||
fieldLabel: "Name"
|
fieldLabel: "Name",
|
||||||
|
validator: function(value){
|
||||||
|
var val = (value=='')? false: true;
|
||||||
|
return val;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: "label",
|
xtype: "label",
|
||||||
@@ -321,7 +325,14 @@ clientSetup.application = {
|
|||||||
name: "txtWebSite",
|
name: "txtWebSite",
|
||||||
|
|
||||||
fieldLabel: "Web Site",
|
fieldLabel: "Web Site",
|
||||||
vtype: "url"
|
validator: function (value){
|
||||||
|
var regexpUrl = /[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/gi;
|
||||||
|
var regexStringIp = new RegExp(regexpUrl);
|
||||||
|
var regexpIpAdress = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/g;
|
||||||
|
var regexNumberIp = new RegExp(regexpIpAdress);
|
||||||
|
var result = (value.match(regexStringIp) || value.match(regexNumberIp))? true : false;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: "label",
|
xtype: "label",
|
||||||
@@ -345,7 +356,7 @@ clientSetup.application = {
|
|||||||
fieldLabel: " ",
|
fieldLabel: " ",
|
||||||
labelSeparator: "",
|
labelSeparator: "",
|
||||||
|
|
||||||
html: "<span style=\"font-size: 11px;\">" + "here should we return after successfully authenticating? For @Anywhere applications, only the domain specified in the callback will be used. OAuth 1.0a applications should explicitly specify their oauth_callback URL on the request token step, regardless of the value given here. To restrict your application from using callbacks, leave this field blank." + "</span>"
|
html: "<span style=\"font-size: 11px;\">" + "URL where redirected after successfully authenticating (calling the {workspace}/oauth2/authorize endpoint). This URL typically contains code to get the access token from the {workspace}/oauth2/token endpoint. To prevent your application from using callbacks, leave this field blank." + "</span>"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
@@ -499,7 +510,7 @@ clientSetup.application = {
|
|||||||
var btnDetail = new Ext.Action({
|
var btnDetail = new Ext.Action({
|
||||||
id: "btnDetail",
|
id: "btnDetail",
|
||||||
|
|
||||||
text: _("ID_DETAIL"),
|
text: _("ID_DETAILS"),
|
||||||
iconCls: "button_menu_ext ss_sprite ss_zoom",
|
iconCls: "button_menu_ext ss_sprite ss_zoom",
|
||||||
|
|
||||||
handler: function ()
|
handler: function ()
|
||||||
@@ -695,7 +706,7 @@ clientSetup.application = {
|
|||||||
items: [grdpnlMain]
|
items: [grdpnlMain]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ext.onReady(clientSetup.application.init, clientSetup.application);
|
Ext.onReady(clientSetup.application.init, clientSetup.application);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user