From 754d4b3dcf7ffb6ef2b5a70465786c49d911d96b Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sat, 19 Apr 2014 14:18:35 -0300 Subject: [PATCH] fixing wrong reference variable --- wise-webapp/src/main/webapp/js/mindmapList.js | 8 +++----- wise-webapp/src/main/webapp/jsp/mindmapList.jsp | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/wise-webapp/src/main/webapp/js/mindmapList.js b/wise-webapp/src/main/webapp/js/mindmapList.js index 67addd10..fc2fa0f3 100644 --- a/wise-webapp/src/main/webapp/js/mindmapList.js +++ b/wise-webapp/src/main/webapp/js/mindmapList.js @@ -66,7 +66,6 @@ jQuery.fn.dataTableExt.removeSelectedRows = function () { updateStatusToolbar(); }; - jQuery.fn.dialogForm = function (options) { var containerId = this[0].id; @@ -79,7 +78,7 @@ jQuery.fn.dialogForm = function (options) { // Clear form values ... if (options.clearForm == undefined || options.clearForm) { //FIXME: icon and color should be handled as exceptions.. - $("#" + containerId).find('input[name!="color"]input[name!="icon"]').val(''); + $("#" + containerId).find('input[name!="color"]input[name!="iconName"]').val(''); } // Clear button "Saving..." state ... @@ -178,7 +177,6 @@ jQuery.fn.dialogForm = function (options) { }; - // Update toolbar events ... function updateStatusToolbar() { @@ -567,7 +565,7 @@ function createLabelItem(data, id) { var labelItem = $("
  • "); labelItem.append( " " + - "" + + "" + "
    " + "
    " + data.title + "
    " + "" + @@ -641,7 +639,7 @@ function prepareLabelList(labels) { $('
  • ').attr('value', value.id).attr('color', value.color).attr('icon', value.icon) .append( '' + - "
    " + + "
    " + "
    " + "
    " + value.title + "
    " + '
    ') diff --git a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp index adc2e25f..6ae0df9d 100644 --- a/wise-webapp/src/main/webapp/jsp/mindmapList.jsp +++ b/wise-webapp/src/main/webapp/jsp/mindmapList.jsp @@ -354,7 +354,7 @@
    - +