mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-10 16:51:33 +02:00
fix login double border
This commit is contained in:
@@ -92,6 +92,14 @@ if (Sonia.login.Form){
|
||||
|
||||
}
|
||||
|
||||
if (Sonia.login.Window){
|
||||
|
||||
Ext.override(Sonia.login.Form, {
|
||||
titleText: 'Anmeldung'
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
// sonia.rest.js
|
||||
|
||||
if ( Sonia.rest.JsonStore ){
|
||||
|
||||
@@ -35,7 +35,6 @@ Sonia.login.Form = Ext.extend(Ext.FormPanel,{
|
||||
passwordText: 'Password',
|
||||
loginText: 'Login',
|
||||
cancelText: 'Cancel',
|
||||
titleText: 'Please Login',
|
||||
waitTitleText: 'Connecting',
|
||||
WaitMsgText: 'Sending data...',
|
||||
failedMsgText: 'Login failed!',
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
|
||||
Sonia.login.Window = Ext.extend(Ext.Window,{
|
||||
|
||||
titleText: 'Please Login',
|
||||
|
||||
initComponent: function(){
|
||||
var form = new Sonia.login.Form();
|
||||
form.on('actioncomplete', function(){
|
||||
@@ -50,6 +52,7 @@ Sonia.login.Window = Ext.extend(Ext.Window,{
|
||||
plain: true,
|
||||
border: false,
|
||||
modal: true,
|
||||
title: this.titleText,
|
||||
items: [form]
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user