mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +01:00
fix sometimes shown old / no longer used delete dialog, buttons in new dialog were not translated and missing tooltip
This commit is contained in:
parent
af07e8cceb
commit
f60e046511
@ -145,7 +145,6 @@ app.classes.calendar = AppJS.extend(
|
|||||||
case 'calendar.edit':
|
case 'calendar.edit':
|
||||||
if (typeof content.data['conflicts'] == 'undefined')
|
if (typeof content.data['conflicts'] == 'undefined')
|
||||||
{
|
{
|
||||||
$j(document.getElementById('calendar-edit_calendar-delete_series')).hide();
|
|
||||||
//Check if it's fallback from conflict window or it's from edit window
|
//Check if it's fallback from conflict window or it's from edit window
|
||||||
if (content.data['button_was'] != 'freetime')
|
if (content.data['button_was'] != 'freetime')
|
||||||
{
|
{
|
||||||
@ -874,21 +873,21 @@ app.classes.calendar = AppJS.extend(
|
|||||||
var buttons = [
|
var buttons = [
|
||||||
{
|
{
|
||||||
button_id: 'keep',
|
button_id: 'keep',
|
||||||
statustext:'All exceptions are converted into single events.',
|
title: this.egw.lang('All exceptions are converted into single events.'),
|
||||||
text: 'Keep exceptions',
|
text: this.egw.lang('Keep exceptions'),
|
||||||
id: 'button[delete_keep_exceptions]',
|
id: 'button[delete_keep_exceptions]',
|
||||||
image: 'keep', "default":true
|
image: 'keep', "default":true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
button_id: 'delete',
|
button_id: 'delete',
|
||||||
statustext:'The exceptions are deleted together with the series.',
|
title: this.egw.lang('The exceptions are deleted together with the series.'),
|
||||||
text: 'Delete exceptions',
|
text: this.egw.lang('Delete exceptions'),
|
||||||
id: 'button[delete_exceptions]',
|
id: 'button[delete_exceptions]',
|
||||||
image: 'delete'
|
image: 'delete'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
button_id: 'cancel',
|
button_id: 'cancel',
|
||||||
text: 'Cancel',
|
text: this.egw.lang('Cancel'),
|
||||||
id: 'dialog[cancel]',
|
id: 'dialog[cancel]',
|
||||||
image: 'cancel'
|
image: 'cancel'
|
||||||
}
|
}
|
||||||
|
@ -243,20 +243,6 @@
|
|||||||
<template id="calendar.edit.history" template="" lang="" group="0" version="1.7.002">
|
<template id="calendar.edit.history" template="" lang="" group="0" version="1.7.002">
|
||||||
<historylog id="history" options="history_status" width="100%" />
|
<historylog id="history" options="history_status" width="100%" />
|
||||||
</template>
|
</template>
|
||||||
<template id="calendar.delete_series" template="" lang="" group="0" version="1.7.003">
|
|
||||||
<vbox>
|
|
||||||
<hbox class="promptheader">
|
|
||||||
<description value="This event is part of a series"/>
|
|
||||||
</hbox>
|
|
||||||
<vbox class="prompt">
|
|
||||||
<description value="Do you want to keep the series exceptions in your calendar?"/>
|
|
||||||
<hbox align="center">
|
|
||||||
<button statustext="All exceptions are converted into single events." label="Keep exceptions" id="button[delete_keep_exceptions]" image="keep" background_image="1"/>
|
|
||||||
<button statustext="The exceptions are deleted together with the series." label="Delete exceptions" id="button[delete_exceptions]" image="delete" background_image="1"/>
|
|
||||||
</hbox>
|
|
||||||
</vbox>
|
|
||||||
</vbox>
|
|
||||||
</template>
|
|
||||||
<template id="calendar.edit" template="" lang="" group="0" version="1.9.001">
|
<template id="calendar.edit" template="" lang="" group="0" version="1.9.001">
|
||||||
<grid width="100%">
|
<grid width="100%">
|
||||||
<columns>
|
<columns>
|
||||||
@ -334,6 +320,5 @@
|
|||||||
<checkbox label="Do not notify" id="no_notifications"/>
|
<checkbox label="Do not notify" id="no_notifications"/>
|
||||||
<button align="right" statustext="Delete this event" label="Delete" id="button[delete]" onclick="app.calendar.delete_btn(widget,$cont[query_delete_exceptions]);" image="delete" background_image="1"/>
|
<button align="right" statustext="Delete this event" label="Delete" id="button[delete]" onclick="app.calendar.delete_btn(widget,$cont[query_delete_exceptions]);" image="delete" background_image="1"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<template id="calendar.delete_series"/>
|
|
||||||
</template>
|
</template>
|
||||||
</overlay>
|
</overlay>
|
||||||
|
Loading…
Reference in New Issue
Block a user