Bug 5068 - Move WebSocket support JavaScript code from home.tmpl to a separate file
Summary: Move WebSocket support JavaScript code from home.tmpl to a separate file
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.9.0
Assignee: Samuel Mannehed
URL:
Keywords: derfian_tester, prosaic
Depends on:
Blocks:
 
Reported: 2014-04-04 11:52 CEST by Karl Mikaelsson
Modified: 2017-06-15 17:24 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Karl Mikaelsson cendio 2014-04-04 11:52:53 CEST

    
Comment 1 Karl Mikaelsson cendio 2014-04-07 13:31:11 CEST
- It mixes program code (JavaScript) with presentation code (HTML/template language) in one file.

- It's impossible to reuse the code elsewhere without copying it.

- Browsers may choose to cache an external JavaScript file. They don't have that option with embedded JavaScript.
Comment 3 Samuel Mannehed cendio 2017-05-22 13:34:05 CEST
Fixed now.
Comment 4 Karl Mikaelsson cendio 2017-05-30 14:41:54 CEST
Looks good.

Note You need to log in before you can comment on or make changes to this bug.