Changeset 2769


Ignore:
Timestamp:
04/02/13 14:01:29 (11 years ago)
Author:
olof
Message:

added comments for insertion-points for update, delete and insert

Location:
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/test/test-service.html

    r2716 r2769  
    2323         
    2424            //use remote backend via local proxy
    25             var proxyURL = "http://localhost/annotation/annotator-service/test/proxy.php?url="+encodeURIComponent('http://pelle.ssd.gu.se:8080/exist/rest/db/annotation-framework/api/annotations.xql');
     25            var proxyURL = "http://localhost/annotations/annotator-service/test/proxy.php?url="+encodeURIComponent('http://pelle.ssd.gu.se:8080/exist/rest/db/annotation-framework/api/annotations.xql');
    2626            annotationFramework.setBackend(proxyURL);
    2727           
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/markingcollection.js

    r2746 r2769  
    327327                },
    328328                onLocationChange : function(webProgress, aRequest, aURI){
     329                        //alert('get all from this url: '+webProgress.DOMWindow.document.URL);
    329330                        if(webProgress.isLoadingDocument) return;
    330331                        bitsMarkingCollection.marking(webProgress.DOMWindow.document);
     
    720721        marking : function(aDoc, aContentURLString){
    721722                var url;
     723               
    722724                if(aContentURLString){
    723725                        url = aContentURLString;
     
    725727                        url = this.Common.getURLStringFromDocument(aDoc);
    726728                }
     729               
    727730                if(url.indexOf("chrome:") >= 0 || url.indexOf("about:") >= 0) return;
    728731                if(bitsObjectMng.getBrowser().contentDocument.location == aDoc.location) bitsMarkingCollection._location = aDoc.location;
    729732//this._dump("marking():url=["+url+"]");
     733                //alert('marking: '+url+' aDoc '+aDoc.location);
    730734                var rtnObj = bitsMarkingCollection.Database.getAllObjectFormContentURL(url);
    731735                if(rtnObj){
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/objectmng.js

    r2711 r2769  
    36253625                                                var aSql1 = "insert into om_link ("+ lcolumns.join(",") +") values ("+ lvalues.join(",") +")";
    36263626                                                var aSql2 = "insert into om_object ("+ columns.join(",") +") values ("+ values.join(",") +")";
     3627                                                //alert("INSERT "+aObject.note);
    36273628                                                sqlArr.push(aSql1);
    36283629                                                sqlArr.push(aSql2);
     
    49264927                                if(rtn && values.length>0){
    49274928                                        var aSql = 'update om_object set '+ values.join(",") +' where oid="'+ aObject.oid +'"';
     4929                                        //alert("UPDATE oid: "+aObject.oid);
    49284930                                        rtn = this.cmdB(aMode,aSql,para);
    49294931                                }
  • DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/overlay.xul

    r2745 r2769  
    4343    <script type="application/x-javascript" src="chrome://markingcollection/content/pubmedcentral.js"/>
    4444    <script type="application/x-javascript" src="chrome://markingcollection/content/markerRemap.js"/>
     45   
     46    <!-- added for annotator-service -->
     47    <script type="application/x-javascript" src="chrome://markingcollection/content/annotator-service/lib/jquery-1.9.1.js"/>
     48    <script type="application/x-javascript" src="chrome://markingcollection/content/annotator-service/lib/jquery.xml2json.js"/>
     49    <script type="application/x-javascript" src="chrome://markingcollection/content/annotator-service/annotation-service.js"/>
     50    <!-- end -->   
    4551    <script type="application/x-javascript">
    4652        <![CDATA[
     
    4854                        window.setTimeout(
    4955                                function(){
     56                                       
    5057                                        bitsObjectMng.init(aEvent);
    5158                                        bitsMarkingCollection.init(aEvent);
Note: See TracChangeset for help on using the changeset viewer.