diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/messageboard/views/default/messageboard/js.php | 2 | ||||
-rw-r--r-- | mod/messages/views/default/object/messages.php | 2 | ||||
-rw-r--r-- | mod/thewire/views/default/thewire/css.php | 2 | ||||
-rw-r--r-- | mod/tinymce/views/default/tinymce/css.php | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/mod/messageboard/views/default/messageboard/js.php b/mod/messageboard/views/default/messageboard/js.php index c63804408..22aad10b7 100644 --- a/mod/messageboard/views/default/messageboard/js.php +++ b/mod/messageboard/views/default/messageboard/js.php @@ -9,7 +9,7 @@ elgg.messageboard.init = function() { // delegate() instead of live() because live() has to be at the top level of chains...can't use parent(). // delete is a little-known operator in JS. IE loses its mind if you name a method that. - form.parent().delegate('.delete-button a', 'click', elgg.messageboard.deletePost); + form.parent().delegate('.elgg-button-delete a', 'click', elgg.messageboard.deletePost); } elgg.messageboard.submit = function(e) { diff --git a/mod/messages/views/default/object/messages.php b/mod/messages/views/default/object/messages.php index e000601f9..13b7ca35f 100644 --- a/mod/messages/views/default/object/messages.php +++ b/mod/messages/views/default/object/messages.php @@ -54,7 +54,7 @@ $subject_info .= elgg_view('output/url', array( 'text' => $message->title, )); -$delete_link = "<span class='delete-button'>" . elgg_view("output/confirmlink", array( +$delete_link = "<span class='elgg-button-delete'>" . elgg_view("output/confirmlink", array( 'href' => "action/messages/delete?guid=" . $message->getGUID(), 'text' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), diff --git a/mod/thewire/views/default/thewire/css.php b/mod/thewire/views/default/thewire/css.php index c1c7b5bcb..4f5a12874 100644 --- a/mod/thewire/views/default/thewire/css.php +++ b/mod/thewire/views/default/thewire/css.php @@ -104,7 +104,7 @@ return true; .wire_post_options .elgg-button-action.reply.small { float:right; } -.wire_post_options .delete-button { +.wire_post_options .elgg-button-delete { position: absolute; bottom:5px; right:5px; diff --git a/mod/tinymce/views/default/tinymce/css.php b/mod/tinymce/views/default/tinymce/css.php index 6980a67e0..69302bd48 100644 --- a/mod/tinymce/views/default/tinymce/css.php +++ b/mod/tinymce/views/default/tinymce/css.php @@ -4,6 +4,8 @@ * * Overrides on the default TinyMCE skin * Gives the textarea and buttons rounded corners + * + * @todo why the crazy long rules? */ ?> /* TinyMCE */ |