rem: var match = /^(file:\/\/.*\/)([^/]*)$/.exec(window.location.href); 
add: var match = /^(file:\/\/.*\/)([^\/]*)$/.exec(window.location.href); 
context: Freja.Model.DataSource.prototype.create = function(values) {	var url = this.createURL;	var match = /^(file:\/\/.*\/)([^/]*)$/.exec(window.location.href);	if (match) {		url = match[1] + url; // local	}	var req = Freja.AssetManager.openXMLHttpRequest("PUT", url);	var payload = {};	for (var i = 0, len = values[0].length; i < len; ++i) {		payload[values[0][i]] = values[1][i];	}	return Freja._aux.sendXMLHttpRequest(req, Freja._aux.xmlize(payload, 'record'));};
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/c4458579cfc160fdea9854c8162900416b9f81e7/Model.js/clean/trunk/src/Model.js