diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-06-10 13:12:10 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-06-10 13:12:10 -0700 |
| commit | 6aab0cbec6da442199ca13ecf6078f77b203dd00 (patch) | |
| tree | 67ed457995b3caeb30bd626b36cb52f691ab93c9 /modules/organize/views | |
| parent | 38e8ab3d718d31dee7c8c27064e45c018540f358 (diff) | |
Review the code for xss exposures and provide the functionality to update the organize dialog bar when the selected album changes.
Diffstat (limited to 'modules/organize/views')
| -rw-r--r-- | modules/organize/views/organize_dialog.html.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php index 574117e5..2d340f13 100644 --- a/modules/organize/views/organize_dialog.html.php +++ b/modules/organize/views/organize_dialog.html.php @@ -31,6 +31,10 @@ $("#g-dialog").dialog("close"); } + function setTitle(title) { + $("#ui-dialog-title-g-dialog").text(<?= t("Organize: ")->for_js() ?> + title); + } + function getOrganizeStyles() { var styles = { "color": colorToHex($("#g-organize").css("color")), @@ -117,6 +121,6 @@ <div id="g-organize" class="g-dialog-panel"> <!-- The following spans are placeholders so we can load the hover and active styles for the flex component --> <span id="g-organize-hover" /><span id="g-organize-active" /> - <h1 style="display:none"><?= t("Organize %name", array("name" => html::purify($album->title))) ?></h1> + <h1 style="display:none"><?= t("Organize: %name", array("name" => html::purify($album->title))) ?></h1> <div id="flashContent"> </div> </div> |
