color button new annotation
authorAnthony Ly <anthonyly.com@gmail.com>
Tue, 18 Jun 2013 15:17:31 +0200
changeset 134 0282cb8db314
parent 133 9b427d3dc919
child 135 60ca0705ec30
color button new annotation refresh display view add and remove annotation
integration/css/style.css
integration/js/edition.js
--- 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,
--- 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 */