# HG changeset patch # User Anthony Ly # Date 1371561451 -7200 # Node ID 0282cb8db314e695b790621f117d03c78c0b77e6 # Parent 9b427d3dc919f6bc86060ff8ab4338c336dad82e color button new annotation refresh display view add and remove annotation diff -r 9b427d3dc919 -r 0282cb8db314 integration/css/style.css --- a/integration/css/style.css Tue Jun 18 12:21:16 2013 +0200 +++ b/integration/css/style.css Tue Jun 18 15:17:31 2013 +0200 @@ -115,12 +115,12 @@ .description-slideshow-row textarea{width: 164px; max-width: 164px; height: 100px;} a.open-tab{text-shadow:none;} -a.open-tab:hover{background-color: #E6E6E6;} -.open-tab.video{background-color: #BE4477;} -.open-tab.text{background-color:#5E90CB;} -.open-tab.slideshow{background-color:#F69058;} -.open-tab.audio{background-color:#63BE6C;} -.open-tab.links{background-color:#8985BB;} +a.open-tab:hover{color: #E6E6E6;} +.open-tab.video i{color: #BE4477;} +.open-tab.text i{color:#5E90CB;} +.open-tab.slideshow i{color:#F69058;} +.open-tab.audio i{color:#63BE6C;} +.open-tab.links i{color:#8985BB;} .input-image-url, .annotation span, .annotation i, diff -r 9b427d3dc919 -r 0282cb8db314 integration/js/edition.js --- a/integration/js/edition.js Tue Jun 18 12:21:16 2013 +0200 +++ b/integration/js/edition.js Tue Jun 18 15:17:31 2013 +0200 @@ -448,7 +448,7 @@ myProject.getAnnotations().push(annotation); annotations.push(annotation); disabledPreview(); - + refreshAnnotationDisplay(myMedia.getCurrentTime()); return annotation; } @@ -606,6 +606,7 @@ closeTab(idAnnotation); renderAnnotation(); disabledPreview(); + refreshAnnotationDisplay(myMedia.getCurrentTime()); } /* Tab */