Snapshot page - localize title in all dialog boxes.

This commit is contained in:
Jessica Wang 2011-02-11 19:13:30 -08:00
parent 0bc65d4292
commit a3dd23864d
2 changed files with 3 additions and 4 deletions

View File

@ -139,7 +139,7 @@ dictionary = {
<!-- snapshot detail panel (end) -->
<!-- Add Volume Dialog from Snapshot (begin) -->
<div id="dialog_add_volume_from_snapshot" title="Add Volume from Snapshot" style="display: none">
<div id="dialog_add_volume_from_snapshot" title='<fmt:message key="label.action.create.volume"/>' style="display: none">
<div class="dialog_formcontent">
<form action="#" method="post" id="form5">
<ol>
@ -155,7 +155,7 @@ dictionary = {
<!-- Add Volume Dialog from Snapshot (end) -->
<!-- Create template from snapshot (begin) -->
<div id="dialog_create_template_from_snapshot" title="Create Template from Snapshot" style="display:none">
<div id="dialog_create_template_from_snapshot" title='<fmt:message key="label.action.create.template"/>' style="display:none">
<div class="dialog_formcontent">
<form action="#" method="post" id="form6">
<ol>

View File

@ -167,8 +167,7 @@ var snapshotActionMap = {
afterActionSeccessFn: function(json, $midmenuItem1, id){}
}
,
"label.action.delete.snapshot": {
api: "deleteSnapshot",
"label.action.delete.snapshot": {
isAsyncJob: true,
asyncJobResponse: "deletesnapshotresponse",
dialogBeforeActionFn : doSnapshotDelete,