From 8bdc5f6b0557d51889142cf0d1d03df2c1240ca5 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Mon, 20 Jan 2014 01:03:32 -0300 Subject: [PATCH] new button is now a dropdown in order to support folders --- wise-webapp/src/main/webapp/js/mindmapList.js | 9 ++++++- .../src/main/webapp/jsp/mindmapList.jsp | 26 ++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/wise-webapp/src/main/webapp/js/mindmapList.js b/wise-webapp/src/main/webapp/js/mindmapList.js index b01f7a49..ef079694 100644 --- a/wise-webapp/src/main/webapp/js/mindmapList.js +++ b/wise-webapp/src/main/webapp/js/mindmapList.js @@ -246,7 +246,7 @@ function callbackOnTableInit() { $(function () { // Creation buttons actions ... - $("#newBtn").click( + $("#newMapBtn").click( function () { $("#new-dialog-modal").dialogForm({ redirect:"c/maps/{header.resourceId}/edit", @@ -254,6 +254,13 @@ $(function () { }); }); + //Eze todo hoy esta creando un dialog de mapa + $("#newFolderBtn").click( + function() { + window.alert('falta crear el dialog de folder') + } + ); + $("#duplicateBtn").click(function () { // Map to be cloned ... var tableElem = $('#mindmapListTable'); diff --git a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp index 7e0c8821..3f00b4ca 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp @@ -162,9 +162,29 @@
- - + + + +