From ca66fa917c8e297e1403dc916de96f50130af270 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Tue, 19 Jan 2010 22:37:41 +0000 Subject: Futon: Simplify placeholder fallback using jQuery live focus events. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900989 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/database.html | 4 ++-- share/www/script/futon.js | 39 +++++++++++++++------------------------ share/www/style/layout.css | 24 ++++++++++++------------ 3 files changed, 29 insertions(+), 38 deletions(-) diff --git a/share/www/database.html b/share/www/database.html index 504c2c1e..a3a02a52 100644 --- a/share/www/database.html +++ b/share/www/database.html @@ -120,7 +120,7 @@ specific language governing permissions and limitations under the License. $("#toolbar button.delete").click(page.deleteDatabase); $("#toolbar button.compactview").click(page.compactView); - $('#jumpto input').addPlaceholder("Document ID").suggest(function(text, callback) { + $('#jumpto input').suggest(function(text, callback) { page.db.allDocs({ limit: 10, startkey: text, endkey: text + 'zzz', success: function(docs) { @@ -158,7 +158,7 @@ specific language governing permissions and limitations under the License.