From 94047498ffb3198594c83f059fd7eb1085d21086 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 May 2008 09:29:13 +0100 Subject: [PATCH] allow panel resize when dragging post header --- feedlist.js | 8 ++++---- functions.php | 3 ++- tt-rss.css | 1 + tt-rss.php | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/feedlist.js b/feedlist.js index 004ae4629..62fceca37 100644 --- a/feedlist.js +++ b/feedlist.js @@ -7,7 +7,7 @@ var mouse_is_down = false; var mouse_y = 0; var mouse_x = 0; -var enable_resize = false; +var resize_enabled = false; function viewCategory(cat) { active_feed_is_cat = true; @@ -485,13 +485,13 @@ function mouse_move_handler(e) { } } -function resize_enabled(b) { - enable_resize = b; +function enable_resize(b) { + resize_enabled = b; } function mouse_down_handler(e) { try { - if (enable_resize) { + if (resize_enabled) { mouse_is_down = true; mouse_x = 0; mouse_y = 0; diff --git a/functions.php b/functions.php index 5d4966865..967739241 100644 --- a/functions.php +++ b/functions.php @@ -4601,7 +4601,8 @@ print "
"; - print "
"; + print "
"; $entry_author = $line["author"]; diff --git a/tt-rss.css b/tt-rss.css index a37e6870a..55265f51f 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -35,6 +35,7 @@ div.postReply div.postHeader { border-color : #88b0f0; margin : 0px 1px 0px 0px; padding : 5px; + cursor : move; } /* div.postReply > div.postHeader { diff --git a/tt-rss.php b/tt-rss.php index e0a5d0862..3b6dcada5 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -242,7 +242,7 @@ window.onload = init;