More fixes ...

This commit is contained in:
Paulo Gustavo Veiga
2014-03-04 23:09:39 -03:00
parent 3cf3b857a3
commit 255f50eda8
5 changed files with 13 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ mindplot.widget.Menu = new Class({
var widgetsBaseUrl = baseUrl + "css/widget";
// Stop event propagation ...
$('#'+this._containerId).addEvent('click', function (event) {
$('#'+this._containerId).bind('click', function (event) {
event.stopPropagation();
return false;
});
@@ -416,7 +416,7 @@ mindplot.widget.Menu = new Class({
var keyboardShortcut = $('#keyboardShortcuts');
if (keyboardShortcut) {
keyboardShortcut.addEvent('click', function (event) {
keyboardShortcut.bind('click', function (event) {
var reqDialog = new MooDialog.Request('c/keyboard', null,
{'class': 'modalDialog keyboardModalDialog',
closeButton: true,
@@ -441,7 +441,7 @@ mindplot.widget.Menu = new Class({
var left = (screen.width / 2) - (width / 2);
var top = (screen.height / 2) - (height / 2);
videoElem.addEvent('click', function (event) {
videoElem.bind('click', function (event) {
window.open("https://www.youtube.com/tv?vq=medium#/watch?v=rKxZwNKs9cE", "_blank", 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=' + width + ', height=' + height + ', top=' + top + ', left=' + left);
event.preventDefault();
});