diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-02 10:55:22 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-02 10:55:22 -0800 |
commit | 370faf5f265e634b0828be9695cd6eb9676ff6f7 (patch) | |
tree | b3e48ced8d231b5c26539d87d19f68a1f0a6c8e5 /modules | |
parent | aa2e4de024a985f16beb8c1ad90daf0e668d2e28 (diff) |
Display the error message for the in place edit. Also improve the double click guard. Fixes ticket #1000.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/views/in_place_edit.html.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gallery/views/in_place_edit.html.php b/modules/gallery/views/in_place_edit.html.php index 05a16ad4..2d6cbe90 100644 --- a/modules/gallery/views/in_place_edit.html.php +++ b/modules/gallery/views/in_place_edit.html.php @@ -9,7 +9,13 @@ <?= form::submit(array("class" => "submit ui-state-default"), t("Save")) ?> </li> <li><a href="#" class="g-cancel"><?= t("Cancel") ?></a></li> + <? if (!empty($errors["input"])): ?> + <li> + <p id="g-in-place-edit-message" class="g-error"><?= $errors["input"] ?></p> + </li> + <? endif ?> </ul> </form> + |