From 41d46485dd8dc7b0118bec005a9f777252db1b36 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Thu, 4 Oct 2012 10:26:00 +0200 Subject: [PATCH 1/2] fixed issue 1178 --- src/board/UBFeaturesController.cpp | 1 + src/board/UBFeaturesController.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/board/UBFeaturesController.cpp b/src/board/UBFeaturesController.cpp index afc6026e..b39017ce 100644 --- a/src/board/UBFeaturesController.cpp +++ b/src/board/UBFeaturesController.cpp @@ -260,6 +260,7 @@ bool UBFeature::isDeletable() const || elementType == FEATURE_AUDIO || elementType == FEATURE_VIDEO || elementType == FEATURE_IMAGE + || elementType == FEATURE_FLASH || elementType == FEATURE_FOLDER; } diff --git a/src/board/UBFeaturesController.h b/src/board/UBFeaturesController.h index b48f3d62..6c05e90b 100644 --- a/src/board/UBFeaturesController.h +++ b/src/board/UBFeaturesController.h @@ -73,14 +73,14 @@ enum UBFeatureElementType FEATURE_VIRTUALFOLDER, FEATURE_FOLDER, FEATURE_INTERACTIVE, - FEATURE_INTERNAL, + FEATURE_INTERNAL, FEATURE_ITEM, FEATURE_AUDIO, FEATURE_VIDEO, FEATURE_IMAGE, FEATURE_FLASH, - FEATURE_TRASH, - FEATURE_FAVORITE, + FEATURE_TRASH, + FEATURE_FAVORITE, FEATURE_SEARCH, FEATURE_INVALID }; From 17c3184b4ecd2af32fed349bb2df9b461781f2cf Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Thu, 4 Oct 2012 11:22:20 +0200 Subject: [PATCH 2/2] fixed issue 1225 --- .../applications/Nuancier.wgt/js/colorpicker.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/library/applications/Nuancier.wgt/js/colorpicker.js b/resources/library/applications/Nuancier.wgt/js/colorpicker.js index 0c7080ff..b5ac79ed 100644 --- a/resources/library/applications/Nuancier.wgt/js/colorpicker.js +++ b/resources/library/applications/Nuancier.wgt/js/colorpicker.js @@ -70,12 +70,12 @@ $("div.tools_change").removeClass("tools_compass"); window.sankore.setTool('pen'); window.sankore.setPenColor('#' + HSBToHex(hsb)); - sankore.returnStatus("PEN installed", penFlag); + //sankore.returnStatus("PEN installed", penFlag); } else { $("div.tools_change").addClass("tools_compass"); window.sankore.setTool('compass'); window.sankore.setPenColor('#' + HSBToHex(hsb)); - sankore.returnStatus("Compass installed", penFlag); + //sankore.returnStatus("Compass installed", penFlag); } }, keyDown = function (ev) { @@ -224,12 +224,12 @@ $("div.tools_change").removeClass("tools_compass"); window.sankore.setTool('pen'); window.sankore.setPenColor('#' + HSBToHex(tmpColor.b)); - sankore.returnStatus("PEN installed", penFlag); + //sankore.returnStatus("PEN installed", penFlag); } else { $("div.tools_change").addClass("tools_compass"); window.sankore.setTool('compass'); window.sankore.setPenColor('#' + HSBToHex(tmpColor.b)); - sankore.returnStatus("Compass installed", penFlag); + //sankore.returnStatus("Compass installed", penFlag); } //$(tmpColor.a).data('colorpicker').newColor.css('backgroundColor', '#' + HSBToHex(tmpColor.b)); return false; @@ -261,7 +261,7 @@ cal.data('colorpicker').onSubmit(col, HSBToHex(col), HSBToRGB(col), cal.data('colorpicker').el); penFlag = (penFlag)?false:true; setNewColor(col, cal.get(0)); - sankore.returnStatus("startEditing()", penFlag); + //sankore.returnStatus("startEditing()", penFlag); }, show = function (ev) { var cal = $('#' + $(this).data('colorpickerId')); @@ -604,4 +604,4 @@ ColorPickerShow: ColorPicker.showPicker, ColorPickerSetColor: ColorPicker.setColor }); -})(jQuery) \ No newline at end of file +})(jQuery)