Browse Source

Fixed issue #218 - Download of OTRS Migrator plugin doesn't start.

Thorsten Eckel 8 years ago
parent
commit
7be0ad9a61

+ 0 - 1
app/assets/javascripts/app/controllers/import_otrs.coffee

@@ -50,7 +50,6 @@ class Index extends App.ControllerContent
     @html App.view('import/otrs')()
     @html App.view('import/otrs')()
 
 
   startDownload: (e) =>
   startDownload: (e) =>
-    e.preventDefault()
     @$('.js-otrs-link').removeClass('hide')
     @$('.js-otrs-link').removeClass('hide')
 
 
   showLink: (e) =>
   showLink: (e) =>

+ 3 - 3
app/assets/javascripts/app/views/import/otrs.jst.eco

@@ -7,9 +7,9 @@
         <p>
         <p>
           <%- @T('Download and install the OTRS Migration Plugin on your OTRS System') %>:
           <%- @T('Download and install the OTRS Migration Plugin on your OTRS System') %>:
         </p>
         </p>
-        <a class="btn btn--primary btn--download js-download" target=_blank href="https://portal.znuny.com/api/addon_repos/public/617/latest"><%- @Icon('download') %> <%- @T('Migration Plugin for OTRS 5') %></a>
-        <a class="btn btn--primary btn--download js-download" target=_blank href="https://portal.znuny.com/api/addon_repos/public/383/latest"><%- @Icon('download') %> <%- @T('Migration Plugin for OTRS 4') %></a>
-        <a class="btn btn--primary btn--download js-download" target=_blank href="https://portal.znuny.com/api/addon_repos/public/287/latest"><%- @Icon('download') %> <%- @T('Migration Plugin for OTRS 3.3 - 3.1') %></a>
+        <a class="btn btn--primary btn--download js-download" target=_blank href="https://portal.znuny.com/api/addon_repos/public/617/latest" download><%- @Icon('download') %> <%- @T('Migration Plugin for OTRS 5') %></a>
+        <a class="btn btn--primary btn--download js-download" target=_blank href="https://portal.znuny.com/api/addon_repos/public/383/latest" download><%- @Icon('download') %> <%- @T('Migration Plugin for OTRS 4') %></a>
+        <a class="btn btn--primary btn--download js-download" target=_blank href="https://portal.znuny.com/api/addon_repos/public/287/latest" download><%- @Icon('download') %> <%- @T('Migration Plugin for OTRS 3.3 - 3.1') %></a>
       </div>
       </div>
       <div class="wizard-controls horizontal center">
       <div class="wizard-controls horizontal center">
         <a class="btn btn--text btn--secondary" href="#import"><%- @T('Go Back') %></a>
         <a class="btn btn--text btn--secondary" href="#import"><%- @T('Go Back') %></a>