]> git.wh0rd.org Git - tt-rss.git/commitdiff
mobile: unbreak per-feed search dialog
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 11 Jan 2010 11:25:04 +0000 (14:25 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 11 Jan 2010 11:25:04 +0000 (14:25 +0300)
mobile/functions.php

index 2a689fb77e6f1256ae96240ab5063a0c01641db5..ddc5bf7909d887a226fe3fe534b3bc694122bd89 100644 (file)
 
                if (!$offset) {
 
-                       print "<form id=\"searchForm\" class=\"dialog\" method=\"POST\" 
+                       print "<form id=\"searchForm-$feed_id-$cat_id\" class=\"dialog\" method=\"POST\" 
                                action=\"feed.php\">
 
                                <input type=\"hidden\" name=\"id\" value=\"$feed_id\">
                                <input type=\"hidden\" name=\"cat\" value=\"$cat_id\">
 
                <fieldset>
-                <h1>Search</h1>
+                         <h1>Search</h1>
                    <a class=\"button leftButton\" type=\"cancel\">Cancel</a>
                    <a class=\"button blueButton\" type=\"submit\">Search</a>
 
                                        myBackLabel='".__("Home")."' myBackHref='home.php'>";
                        }
 
-                       print "<li><a href='#searchForm'>Search...</a></li>";
+                       print "<li><a href='#searchForm-$feed_id-$cat_id'>Search...</a></li>";
                }
 
                $num_headlines = 0;