mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fix quick add to show title as required, but allow to click edit without adding it
also no longer fill empty title with "Event", as it does not work and is annoying thought et2_required class on et2-textbox should NOT affect the parent/table cell
This commit is contained in:
parent
34580f4900
commit
8fa65f13f5
@ -2180,10 +2180,6 @@ export class CalendarApp extends EgwApp
|
|||||||
add_dialog_edit(event, widget)
|
add_dialog_edit(event, widget)
|
||||||
{
|
{
|
||||||
var title=widget.getRoot().getWidgetById('title');
|
var title=widget.getRoot().getWidgetById('title');
|
||||||
if(title && !title.get_value())
|
|
||||||
{
|
|
||||||
title.set_value(title.egw().lang('Event'));
|
|
||||||
}
|
|
||||||
let options = jQuery.extend(this.quick_add, this._add_dialog_values(widget));
|
let options = jQuery.extend(this.quick_add, this._add_dialog_values(widget));
|
||||||
|
|
||||||
// Open regular edit
|
// Open regular edit
|
||||||
|
@ -14,8 +14,7 @@
|
|||||||
<rows>
|
<rows>
|
||||||
<row class="dialogHeader" height="28">
|
<row class="dialogHeader" height="28">
|
||||||
<appicon/>
|
<appicon/>
|
||||||
<textbox id="title" maxlength="255" tabindex="1" class="et2_fullWidth" span="4" blur="Title"
|
<textbox id="title" maxlength="255" tabindex="1" class="et2_required" span="4" blur="Title"/>
|
||||||
needed="true"/>
|
|
||||||
</row>
|
</row>
|
||||||
<row class="dialogHeader2" height="28">
|
<row class="dialogHeader2" height="28">
|
||||||
<description for="start" value="Start" width="88"/>
|
<description for="start" value="Start" width="88"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user