From 549571ea4bcd6a25c7fda42d170df0ddc81c8de5 Mon Sep 17 00:00:00 2001 From: Vaidas Lungis Date: Tue, 10 Feb 2015 17:45:32 +0200 Subject: [PATCH] orderbutton/js should have Content-Type: application/javascript header --- src/bb-modules/Orderbutton/Controller/Client.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bb-modules/Orderbutton/Controller/Client.php b/src/bb-modules/Orderbutton/Controller/Client.php index 19ca720b4..dcc3612a2 100644 --- a/src/bb-modules/Orderbutton/Controller/Client.php +++ b/src/bb-modules/Orderbutton/Controller/Client.php @@ -46,6 +46,7 @@ class Client implements \Box\InjectionAwareInterface public function get_js(\Box_App $app) { + header("Content-Type: application/javascript"); return $app->render('mod_orderbutton_js'); } } \ No newline at end of file