From 867e40533a13e564cc89449c6640c7a973093d31 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sun, 30 Mar 2014 12:30:18 +0200 Subject: [PATCH] Fix timeslider export dropdown --- src/static/js/pad_editbar.js | 4 ++-- src/templates/timeslider.html | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/static/js/pad_editbar.js b/src/static/js/pad_editbar.js index 1857bd034..3174bf506 100644 --- a/src/static/js/pad_editbar.js +++ b/src/static/js/pad_editbar.js @@ -206,7 +206,7 @@ var padeditbar = (function() if(module.css('display') != "none") { - $("#" + module[i] + "link").removeClass("selected"); + $("#" + self.dropdowns[i] + "link").removeClass("selected"); module.slideUp("fast", cb); returned = true; } @@ -297,7 +297,7 @@ var padeditbar = (function() ace.ace_doUndoRedo(cmd); }); - toolbar.registerAceCommand("redo", function (cmd, ace) { + toolbar.registerAceCommand("redo", function (cmd) { ace.ace_doUndoRedo(cmd); }); diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index 2e00b8c2a..4696c4757 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -80,7 +80,7 @@
<% e.begin_block("timesliderEditbarRight"); %>