diff --git a/views/default-min.handlebars b/views/default-min.handlebars index 0437c2e5..f526be2d 100644 --- a/views/default-min.handlebars +++ b/views/default-min.handlebars @@ -5406,7 +5406,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -6036,7 +6036,7 @@ if (xxdialogMode) return false; var x = ''; x += '
'; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -8396,9 +8396,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/default.handlebars b/views/default.handlebars index a6b58d06..64b66b3d 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -6423,7 +6423,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -9413,9 +9413,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/translations/default-min_cs.handlebars b/views/translations/default-min_cs.handlebars index b1180910..33980cb8 100644 --- a/views/translations/default-min_cs.handlebars +++ b/views/translations/default-min_cs.handlebars @@ -5406,7 +5406,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -6036,7 +6036,7 @@ if (xxdialogMode) return false; var x = ''; x += ''; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -8396,9 +8396,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/translations/default-min_fr.handlebars b/views/translations/default-min_fr.handlebars index 51664fef..86517aac 100644 --- a/views/translations/default-min_fr.handlebars +++ b/views/translations/default-min_fr.handlebars @@ -5406,7 +5406,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -6036,7 +6036,7 @@ if (xxdialogMode) return false; var x = ''; x += ''; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -8396,9 +8396,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/translations/default-min_ja.handlebars b/views/translations/default-min_ja.handlebars index 891487f2..63cec884 100644 --- a/views/translations/default-min_ja.handlebars +++ b/views/translations/default-min_ja.handlebars @@ -5406,7 +5406,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -6036,7 +6036,7 @@ if (xxdialogMode) return false; var x = ''; x += ''; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -8396,9 +8396,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/translations/default-min_pt.handlebars b/views/translations/default-min_pt.handlebars index 6f67e644..b7573ccc 100644 --- a/views/translations/default-min_pt.handlebars +++ b/views/translations/default-min_pt.handlebars @@ -5406,7 +5406,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -6036,7 +6036,7 @@ if (xxdialogMode) return false; var x = ''; x += ''; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -8396,9 +8396,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/translations/default_cs.handlebars b/views/translations/default_cs.handlebars index 58c1c5ce..4460c618 100644 --- a/views/translations/default_cs.handlebars +++ b/views/translations/default_cs.handlebars @@ -6421,7 +6421,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -7051,7 +7051,7 @@ if (xxdialogMode) return false; var x = ''; x += ''; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -9411,9 +9411,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/translations/default_fr.handlebars b/views/translations/default_fr.handlebars index 0f13f9b5..0173e84f 100644 --- a/views/translations/default_fr.handlebars +++ b/views/translations/default_fr.handlebars @@ -6421,7 +6421,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -7051,7 +7051,7 @@ if (xxdialogMode) return false; var x = ''; x += ''; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -9411,9 +9411,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/translations/default_ja.handlebars b/views/translations/default_ja.handlebars index 3a5f5456..33dae21b 100644 --- a/views/translations/default_ja.handlebars +++ b/views/translations/default_ja.handlebars @@ -6421,7 +6421,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -7051,7 +7051,7 @@ if (xxdialogMode) return false; var x = ''; x += ''; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -9411,9 +9411,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2); diff --git a/views/translations/default_pt.handlebars b/views/translations/default_pt.handlebars index 5c5b3166..db26e756 100644 --- a/views/translations/default_pt.handlebars +++ b/views/translations/default_pt.handlebars @@ -6421,7 +6421,7 @@ if ((ReadInt(data, 0) & 1) != 0) { // Check end flag if (downloadFile.tag == 'viewer') { // View the file in the dialog box - setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack); + setDialogMode(4, EscapeHtml(downloadFile.file), 3, p13editSaveBack, null, downloadFile.file); QH('d4editorarea', EscapeHtml(downloadFile.data)); QS('dialog').width = 'auto'; QS('dialog').bottom = '80px'; @@ -7051,7 +7051,7 @@ if (xxdialogMode) return false; var x = ''; x += ''; - x += ''; + x += ''; x += ''; x += ''; x += ''; @@ -9411,9 +9411,10 @@ xxdialogFunc = f; xxdialogButtons = b; xxdialogTag = tag; - QS('dialog').width = null; // Reset dialog size - QS('dialog').left = null; - QS('dialog').right = null; + + // Reset dialog size + QS('dialog').width = QS('dialog').top = QS('dialog').left = QS('dialog').right = QS('dialog').bottom = null; + QE('idx_dlgOkButton', true); QV('idx_dlgOkButton', b & 1); QV('idx_dlgCancelButton', b & 2);