Ignore:
Timestamp:
Mar 25, 2015 4:09:36 PM (10 years ago)
Author:
quyenla
Message:

preview violet file

File:
1 edited

Legend:

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

    r780 r824  
    174174
    175175$(document).ready(function () {
    176     InitViolet();
    177     //$('#open-lecture').click(function(e){DoOpenLecture('http://sbgapi.violet.vn/space/file/id/7');});
    178         var inFormOrLink = false;
     176      InitViolet();
     177    if(fileid!="")
     178    {
     179     
     180    $('#open-lecture').click(function(e){DoOpenLecture('http://sbgapi.violet.vn/space/file/id/'+fileid);});
     181    }
     182   
     183        var inFormOrLink = false;
    179184
    180185        $(window).on('beforeunload', function() {
Note: See TracChangeset for help on using the changeset viewer.