summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-07 00:05:49 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-07 00:05:49 -0800
commite300ede3d8311bf236594480355f710b39aaa451 (patch)
tree382d16032be71f7ea280660bbbdac24b77e254f3 /modules/gallery
parentad8579e11a0860006cecf9312c86c1a2c4e8418a (diff)
1) Change the name of the form and message to g-in-place-edit-form and g-in-place-edit-message.
2) Make sure the cancel button works and cleans up the dom appropriately.
Diffstat (limited to 'modules/gallery')
-rw-r--r--modules/gallery/css/gallery.css2
-rw-r--r--modules/gallery/views/in_place_edit.html.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css
index 18d9a522..3262dee2 100644
--- a/modules/gallery/css/gallery.css
+++ b/modules/gallery/css/gallery.css
@@ -50,7 +50,7 @@
/* In-place edit ~~~~~~~~~~~~~~~~~~~~~~~~~ */
-#g-inplace-edit-form ul {
+#g-in-place-edit-form ul {
margin: 0;
}
diff --git a/modules/gallery/views/in_place_edit.html.php b/modules/gallery/views/in_place_edit.html.php
index 64671d57..03cbdc69 100644
--- a/modules/gallery/views/in_place_edit.html.php
+++ b/modules/gallery/views/in_place_edit.html.php
@@ -1,5 +1,5 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<?= form::open($action, array("method" => "post", "id" => "g-inplace-edit-form", "class" => "g-short-form"), $hidden) ?>
+<?= form::open($action, array("method" => "post", "id" => "g-in-place-edit-form", "class" => "g-short-form"), $hidden) ?>
<ul>
<li <? if (!empty($errors["input"])): ?> class="g-error"<? endif ?>>
<?= form::input("input", $form["input"], " class='textbox'") ?>
@@ -11,6 +11,6 @@
</ul>
<?= form::close() ?>
<? if (!empty($errors["input"])): ?>
-<div id="g-inplace-edit-message" class="g-error"><?= $errors["input"] ?></div>
+<div id="g-in-place-edit-message" class="g-error"><?= $errors["input"] ?></div>
<? endif ?>