PropertyController.prototype.saveProperty = function()

in src/main/resources/SLING-INF/libs/sling/resource-editor/static/js/properties/PropertyController.js [147:169]


	PropertyController.prototype.saveProperty = function(key, value){
		var thisPropertyController = this;
		var data = {};
//		data[key] = [value,value];
		data[key] = value;
		data["_charset_"] = "utf-8";
		$.ajax({
	  	  type: 'POST',
		  url: location.href,
		  dataType: "json",
	  	  data: data
	  	})
		.done(function() {
			$.notify({
				message: 'Property \''+key+'\' saved.' 
			},{
				type: 'success'
			});
		})
		.fail(function(errorJson) {
			thisPropertyController.mainController.displayAlert(errorJson);
		});
	};