From a8c8af93fb64cfa182c50fa6c5d0c42fa3e9f72d Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Tue, 23 Sep 2014 21:49:15 -0400 Subject: [PATCH] help --- pkgs/plt-services/meta/pkg-index/official/static/index.html | 2 ++ pkgs/plt-services/meta/pkg-index/official/static/index.js | 5 +++++ pkgs/plt-services/meta/pkg-index/official/static/style.css | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/pkgs/plt-services/meta/pkg-index/official/static/index.html b/pkgs/plt-services/meta/pkg-index/official/static/index.html index 8e272c1f2b..545d96adb3 100644 --- a/pkgs/plt-services/meta/pkg-index/official/static/index.html +++ b/pkgs/plt-services/meta/pkg-index/official/static/index.html @@ -66,6 +66,8 @@
+

Unfocusing an edit field or pressing enter + submits a change update asynchronously.

diff --git a/pkgs/plt-services/meta/pkg-index/official/static/index.js b/pkgs/plt-services/meta/pkg-index/official/static/index.js index 8afc78b6ef..d9c2a28b6b 100644 --- a/pkgs/plt-services/meta/pkg-index/official/static/index.js +++ b/pkgs/plt-services/meta/pkg-index/official/static/index.js @@ -49,6 +49,11 @@ $( document ).ready(function() { var mypkg_p = ($.inArray(me(), pkgi['authors'] ) != -1); + if ( mypkg_p || true ) { + $("#pi_edit_help").show(); } + else { + $("#pi_edit_help").hide(); } + function make_editbutton ( spot, initv, fun ) { if ( mypkg_p ) { $( "#" + spot ).append( $('
Package Name:
Ring: