See Changelog.
Monotone-Parent: bcd5c0bb7596efb5593c7dea3526583367b84860 Monotone-Revision: 8edef594b9dbe81854edb93b0440fb81ef74970f Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-10-08T20:25:54 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
8ed772ebd7
commit
ba63f4deab
|
@ -1,5 +1,9 @@
|
|||
2010-10-08 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/generic.js (showConfirmDialog)
|
||||
(showPromptDialog): keys for cached dialogs are now build from a
|
||||
combination of the dialog title and label to avoid collisions.
|
||||
|
||||
* UI/WebServerResources/SchedulerUI.js
|
||||
(deleteEventFromViewCancel): new function loaded if the user
|
||||
cancel the deletion of an event. It clears the array of events to
|
||||
|
|
|
@ -1822,7 +1822,7 @@ function _showAlertDialog(label) {
|
|||
}
|
||||
|
||||
function showConfirmDialog(title, label, callbackYes, callbackNo) {
|
||||
var dialog = dialogs[label];
|
||||
var dialog = dialogs[title+label];
|
||||
if (dialog) {
|
||||
$("bgDialogDiv").show();
|
||||
}
|
||||
|
@ -1836,13 +1836,13 @@ function showConfirmDialog(title, label, callbackYes, callbackNo) {
|
|||
fields,
|
||||
"none");
|
||||
document.body.appendChild(dialog);
|
||||
dialogs[label] = dialog;
|
||||
dialogs[title+label] = dialog;
|
||||
}
|
||||
dialog.show();
|
||||
}
|
||||
|
||||
function showPromptDialog(title, label, callback, defaultValue) {
|
||||
var dialog = dialogs[label];
|
||||
var dialog = dialogs[title+label];
|
||||
v = defaultValue?defaultValue:"";
|
||||
if (dialog) {
|
||||
$("bgDialogDiv").show();
|
||||
|
@ -1867,7 +1867,7 @@ function showPromptDialog(title, label, callback, defaultValue) {
|
|||
fields,
|
||||
"none");
|
||||
document.body.appendChild(dialog);
|
||||
dialogs[label] = dialog;
|
||||
dialogs[title+label] = dialog;
|
||||
}
|
||||
dialog.show();
|
||||
dialog.down("input").focus();
|
||||
|
|
Loading…
Reference in a new issue