Ticket #6377: dojox.data.XmlStore_20080410.patch
| File dojox.data.XmlStore_20080410.patch, 0.7 kB (added by jaredj, 9 months ago) |
|---|
-
data/XmlStore.js
961 961 // An item to delete 962 962 // returns: 963 963 // A delete URL 964 if (!this.url !== "") {965 return this.url; //string966 }967 964 var url = this.url; 968 965 if (item && this.keyAttribute !== "") { 969 966 var value = this.getValue(item, this.keyAttribute); 970 967 if (value) { 971 url = url + '?' + this.keyAttribute + '=' + value; 968 var key = this.keyAttribute.charAt(0) ==='@' ? this.keyAttribute.substring(1): this.keyAttribute; 969 url += url.indexOf('?') < 0 ? '?' : '&'; 970 url += key + '=' + value; 972 971 } 973 972 } 974 973 return url; //string