From b72e60a27a8678358094c90f5007ffc99210c004 Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Wed, 16 Oct 2013 19:02:54 -0600 Subject: [PATCH] Fixing upload --- .../meta/pkg-index/official/static/index.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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 1ae24d80c2..7f52f66613 100644 --- a/pkgs/plt-services/meta/pkg-index/official/static/index.js +++ b/pkgs/plt-services/meta/pkg-index/official/static/index.js @@ -13,7 +13,7 @@ $( document ).ready(function() { click: clickf } ).html(texts); } function jslinki ( texts, clickf) { var i = $('', { href: "javascript:void(0)", - click: function () { clickf(i); } } ); + click: function () { clickf(i); } } ); return i.html(texts); } function dynamic_send ( u, o ) { @@ -502,7 +502,7 @@ $( document ).ready(function() { author: me(), authors: [ me() ], 'checksum-error': false, - conficts: [], + conflicts: [], dependencies: [], description: "", 'last-checked': now, @@ -510,12 +510,15 @@ $( document ).ready(function() { 'last-updated': now, modules: [], ring: 2, - source: "", - 'source_url': "", - tags: [], - versions: []}; + tags: []}; value['search-terms'] = {}; value['search-terms'][("author:" + me())] = true; + value['versions'] = {}; + value['versions']['default'] = {}; + value['versions']['default']['source'] = ""; + value['versions']['default']['source_url'] = ""; + value['versions']['default']['checksum'] = ""; + add_package_to_list (value); evaluate_search(); open_info(value); }),