From 6984737a542d759cbde967341ff3eca9ce20a3ba Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 5 Nov 2009 21:35:40 -0800 Subject: Clean up problem with cancelling the inplace edit left a whole bunch of css artifacts. --- modules/gallery/css/gallery.css | 4 ++++ modules/gallery/helpers/gallery_theme.php | 1 + modules/gallery/views/in_place_edit.html.php | 8 -------- 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css index a4a52155..c766abbc 100644 --- a/modules/gallery/css/gallery.css +++ b/modules/gallery/css/gallery.css @@ -116,3 +116,7 @@ background-color: #cfc; border: 1px solid #beb; } + +#g-inplace-edit-form ul { + margin: 0; +} diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php index 3fcaca67..0682d4ae 100644 --- a/modules/gallery/helpers/gallery_theme.php +++ b/modules/gallery/helpers/gallery_theme.php @@ -61,6 +61,7 @@ class gallery_theme_Core { } static function admin_head($theme) { + $theme->css("gallery.css"); $theme->script("gallery.panel.js"); $session = Session::instance(); if ($session->get("debug")) { diff --git a/modules/gallery/views/in_place_edit.html.php b/modules/gallery/views/in_place_edit.html.php index 5cc42cd6..64671d57 100644 --- a/modules/gallery/views/in_place_edit.html.php +++ b/modules/gallery/views/in_place_edit.html.php @@ -1,12 +1,4 @@ - "post", "id" => "g-inplace-edit-form", "class" => "g-short-form"), $hidden) ?>