Ignore:
Timestamp:
Mar 26, 2015 3:53:42 PM (10 years ago)
Author:
dungnv
Message:
 
Location:
pro-violet-viettel/www/deploy/20150304/assets/js
Files:
2 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 != "")
  • pro-violet-viettel/www/deploy/20150304/assets/js/manager.js

    r831 r835  
    3333                if (o.datasource == undefined)
    3434                    o.datasource = 'ajax';
     35               
     36                if (o.filehosting == undefined)
     37                        o.filehosting = 'http://sbgapi.violet.vn/';
    3538               
    3639                if (o.invisibledButtons == undefined)
Note: See TracChangeset for help on using the changeset viewer.