Ignore:
Timestamp:
Mar 26, 2015 3:53:42 PM (10 years ago)
Author:
dungnv
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/www/deploy/20150304/assets/js/frontend/lecture.js

    r832 r835  
    124124}
    125125
     126function DoOpenLectureOnLoad(filename) {
     127        g_Flash.SetVariable("openedFileName", filename);
     128        g_Flash.SetVariable("command", "Init&Open File");
     129}
     130
    126131function DoCloseLecture() {
    127132    g_Flash.SetVariable("command", "Quit App");
     
    192197    });
    193198   
     199    if (fileid != "")
     200    {
     201        console.log(api_url+'space/file/id/' + fileid);
     202        DoOpenLectureOnLoad(api_url+'space/file/id/' + fileid);
     203    }
     204    else {
     205        g_Flash.SetVariable("command", "Init OK");
     206    }
     207   
     208   
    194209    /*setTimeout(function () {
    195210        if (fileid != "")
Note: See TracChangeset for help on using the changeset viewer.