Bug 387154 - Plugin setting changes not persisted
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/jslintPlugin.js b/bundles/org.eclipse.orion.client.core/web/orion/jslintPlugin.js
index 5ecd274..ea87660 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/jslintPlugin.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/jslintPlugin.js
@@ -74,7 +74,7 @@
 					options.split(/,/).forEach(function(option) {
 						var match = /\s*(\w+)\s*:\s*(\w+)\s*/.exec(option); // name:value
 						var name = match[1], value = match[2];
-						optionsMap[name] = !!value;
+						optionsMap[name] = value;
 					});
 					validationOptions = optionsMap;
 					console.log('JSLINT using custom options: ' + Object.keys(validationOptions).map(function(k) {
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/settings/ui/PluginSettings.js b/bundles/org.eclipse.orion.client.core/web/orion/settings/ui/PluginSettings.js
index 9947da7..6094e4c 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/settings/ui/PluginSettings.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/settings/ui/PluginSettings.js
@@ -34,7 +34,7 @@
 		changeProperty: function() {},
 		updateField: function(modelValue) {}
 	});
-	var PropertyTextField = dojo.declare('orion.widgets.settings.PropertyTextField', [PropertyWidget, orion.widgets.settings.LabeledTextfield], { //$NON-NLS-0$
+	var PropertyTextField = dojo.declare('orion.widgets.settings.PropertyTextField', [orion.widgets.settings.LabeledTextfield, PropertyWidget], { //$NON-NLS-0$
 		postCreate: function() {
 			this.inherited(arguments);
 			var type = this.property.getType();
@@ -51,7 +51,7 @@
 			this.myfield.value = value;
 		}
 	});
-	var PropertyCheckbox = dojo.declare('orion.widgets.settings.PropertyTextField', [PropertyWidget, orion.widgets.settings.LabeledCheckbox], { //$NON-NLS-0$
+	var PropertyCheckbox = dojo.declare('orion.widgets.settings.PropertyTextField', [orion.widgets.settings.LabeledCheckbox, PropertyWidget], { //$NON-NLS-0$
 		change: function(event) {
 			this.changeProperty(event.target.checked); //$NON-NLS-0$
 		},
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/widgets/settings/LabeledTextfield.js b/bundles/org.eclipse.orion.client.core/web/orion/widgets/settings/LabeledTextfield.js
index ddb5d75..96215f5 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/widgets/settings/LabeledTextfield.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/widgets/settings/LabeledTextfield.js
@@ -43,6 +43,7 @@
         },

         

         postCreate: function(){

+			this.inherited(arguments);

 

             this.mylabel.innerHTML = this.fieldlabel + ':'; //$NON-NLS-0$