new button is now a dropdown in order to support folders

This commit is contained in:
Ezequiel Bergamaschi
2014-01-20 01:03:32 -03:00
committed by Ezequiel Bergamaschi
parent 91b5a08b11
commit 8bdc5f6b05
2 changed files with 31 additions and 4 deletions

View File

@@ -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');