Remove UserAgent class. Use mootools.
This commit is contained in:
@@ -98,7 +98,7 @@ TestCase("Mindplot test",{
|
||||
|
||||
var fireNativeEvent = function(type, target, position){
|
||||
var event;
|
||||
if(core.UserAgent.isIE()){
|
||||
if(Browser.ie){
|
||||
event = document.createEventObject();
|
||||
event.screenX = position.x;
|
||||
event.screenY = position.y;
|
||||
|
@@ -24,7 +24,7 @@
|
||||
console.log("value:" + value);
|
||||
}
|
||||
};
|
||||
var palette = new mindplot.widget.ColorPalette('myButton', model,"/mindplot/src/main/javascript/widget");
|
||||
var palette = new mindplot.widget.ColorPalettePanel('myButton', model,"/mindplot/src/main/javascript/widget");
|
||||
});
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user