[TIC-Web] Update Log View 21/119021/1
authorHeekyoung, Oh <heekyoung.oh@samsung.com>
Wed, 15 Mar 2017 07:05:54 +0000 (16:05 +0900)
committerHeekyoung, Oh <heekyoung.oh@samsung.com>
Wed, 15 Mar 2017 07:05:54 +0000 (16:05 +0900)
- Update The CSS

Change-Id: I83cef501a5ecececce09feacda2f6ee70425eb2a
Signed-off-by: Heekyoung, Oh <heekyoung.oh@samsung.com>
public/src/js/util.js

index 2a6fcd5..b11a515 100644 (file)
@@ -33,8 +33,6 @@ define([
         linkid = $(btn).data('jobid');
         linkurl = $(btn).data('link');
 
-        console.log('Util.showBigLogView: job_id="' + linkid + '", log_url="' + linkurl + '"');
-
         // get value
         logViewWidth = getClientWidth() - 18;
         logViewHeight = getClientHeight() - 50;
@@ -44,16 +42,15 @@ define([
         // set value
         $('#log-view-content').width(logViewWidth);
         $('#log-view-content').height(logViewHeight);
-        $('#log-view-content').offset({
-            top: logViewTop,
-            left: logViewLeft
-        });
+        $('#log-view-content').css('top', logViewTop);
+        $('#log-view-content').css('left', logViewLeft);
 
         // show
         $('#log-view-content-body').empty();
         $('#log-view-content-download').attr('href', linkurl);
         $('#log-view-content').show();
 
+        // read
         readLog(linkid);
     }