From 69ff8c00130baba0216d3fb122c4e55e6c4b54b3 Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Thu, 10 Oct 2013 20:54:29 +0100 Subject: [PATCH] Added rubyzip dependency to core.rb. Fixed a bug in dom.js when attaching applets for IE. --- core/core.rb | 3 +++ core/main/client/dom.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/core.rb b/core/core.rb index d150c4787..c16318217 100644 --- a/core/core.rb +++ b/core/core.rb @@ -37,4 +37,7 @@ require 'core/main/migration' require 'core/main/console/commandline' require 'core/main/console/banners' +# @note Include rubyzip lib +require 'zip' + diff --git a/core/main/client/dom.js b/core/main/client/dom.js index 5a515967e..c184fae17 100644 --- a/core/main/client/dom.js +++ b/core/main/client/dom.js @@ -384,7 +384,8 @@ beef.dom = { if (codebase != null) { content += "" - }else{ + } + if (archive != null){ content += ""; } if (params != null) {