]> source.dussan.org Git - archiva.git/commitdiff
add popover doc for cron expression
authorOlivier Lamy <olamy@apache.org>
Mon, 10 Sep 2012 15:32:18 +0000 (15:32 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 10 Sep 2012 15:32:18 +0000 (15:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1382943 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/utils.js

index 718482076cec0926eb242fe55abe85b6403c1511..492e0e8f97b8009d53bc7bd8012e49fca61085bb 100644 (file)
@@ -71,6 +71,9 @@ snapshots=Snapshots
 blockRedeployments=Block Redeployments
 daysOlder=Days Older
 cronExpression=Cron Expression
+cronExpression.help.title=Cron Expression Forma
+cronExpression.help.content= Quartz cron is used. Documentation is: <a target="_blank" href="http://quartz-scheduler.org/documentation/quartz-2.1.x/cookbook/">here</a>
+
 scanned=Scanned
 deleteReleasedSnapshots=Delete Released Snapshots
 releases=Releases
index 182dcb453f155f63371448dcf19ac9d0c2d1085f..40700c80cdaf7207dc56f37e447cbd629a930d1b 100644 (file)
@@ -440,16 +440,21 @@ require(["jquery","jquery.tmpl","i18n"], function(jquery,jqueryTmpl,i18n) {
     return str.replace(/\./g,"\\\.");
   }
 
+  /**
+   * select class:
+   * * .popover-doc: activate popover with html:true and click trigger
+   * * .tooltip-doc: active tooltip
+   */
   activatePopoverDoc=function(){
     var mainContent=$("#main-content");
-    mainContent.find(".popover-doc" ).popover({html: true, trigger: 'manual'});
-    mainContent.find(".popover-doc" ).on("click",function(){
+    mainContent.find(".popover-doc" ).popover({html: true, trigger: 'click'});
+    /*mainContent.find(".popover-doc" ).on("click",function(){
       $(this).popover("show");
     });
 
     mainContent.find(".popover-doc" ).mouseover(function(){
       $(this).popover("destroy");
-    });
+    });*/
 
     mainContent.find(".tooltip-doc" ).tooltip({html: true, trigger: 'hover'});
   }