From 06101d59dc1d67f0bb4194425b46f153f8a97c7e Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 11 Nov 2014 15:57:42 +0200 Subject: put .info into a tab not using jquery tab since I just want an abstraction for 'show just one' which is simpler, no labels. --- scripts/view/node_info.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/view/node_info.js') diff --git a/scripts/view/node_info.js b/scripts/view/node_info.js index 347fbb24..f4d67c7f 100644 --- a/scripts/view/node_info.js +++ b/scripts/view/node_info.js @@ -1,8 +1,8 @@ -define(['jquery', 'view/helpers'], -function($, view_helpers) { +define(['jquery', 'view/helpers', 'view/internal'], +function($, view_helpers, internal) { function show(d) { - $('.info').fadeIn(300); + internal.edit_tab.show('node'); if (d.type === "deliverable") { $('.info').html('Name: ' + d.id + '




'); @@ -40,7 +40,7 @@ function show(d) { function hide() { - $('.info').fadeOut(300); + internal.edit_tab.hide(); } function on_submit(f) -- cgit v1.3.1