]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/SlcApi.js
Fix #209 (do not complain if empty value when frozen or hidden), and add an option...
[gpl/argeo-slc.git] / server / org.argeo.slc.ria / src / argeo-ria-lib / slc / class / org / argeo / slc / ria / SlcApi.js
index 7009757a1857365293d0077aa2f0e2c4cdd77c30..d69830da20e692960bdd1b513f33be06aca711d5 100644 (file)
@@ -184,9 +184,9 @@ qx.Class.define("org.argeo.slc.ria.SlcApi",
                return request;\r
        },\r
 \r
-       buildGetAttachmentUrl : function(attachmentId, contentType){\r
+       buildGetAttachmentUrl : function(attachmentId, contentType, name){\r
                return org.argeo.slc.ria.SlcApi.DEFAULT_CONTEXT + "/" + org.argeo.slc.ria.SlcApi.GET_ATTACHEMENT_SERVICE\r
-                       + "?uuid=" + attachmentId + "&contentType=" + contentType;\r
+                       + "?uuid=" + attachmentId + "&contentType=" + contentType + "&name=" + name;\r
        },\r
        \r
        /**\r