[Plot] Fixed jsLint, removed onchange

Removed ngChange from mct-control

Removed ng-change
This commit is contained in:
Henry
2016-02-09 20:59:08 -08:00
parent ab1c79f25d
commit 24c750b41e
4 changed files with 0 additions and 7 deletions

View File

@ -23,7 +23,6 @@
ng-controller="DateTimeFieldController"> ng-controller="DateTimeFieldController">
<input type="text" <input type="text"
ng-model="textValue" ng-model="textValue"
ng-change="structure.onchange(ngModel[field])"
ng-blur="restoreTextValue(); ngBlur()" ng-blur="restoreTextValue(); ngBlur()"
ng-class="{ ng-class="{
error: textInvalid || error: textInvalid ||

View File

@ -146,7 +146,6 @@ define(
*/ */
PlotOptionsController.prototype.updateConfiguration = function() { PlotOptionsController.prototype.updateConfiguration = function() {
var self = this; var self = this;
console.log('form values changed');
this.domainObject.useCapability('mutation', function(model){ this.domainObject.useCapability('mutation', function(model){
model.configuration = model.configuration || {}; model.configuration = model.configuration || {};
model.configuration.plot = self.configuration.plot; model.configuration.plot = self.configuration.plot;

View File

@ -40,7 +40,6 @@ define(
*/ */
this.xAxisForm = { this.xAxisForm = {
'name':'x-axis', 'name':'x-axis',
'onchange': onchange,
'sections': [{ 'sections': [{
'name': 'x-axis', 'name': 'x-axis',
'rows': [ 'rows': [
@ -59,7 +58,6 @@ define(
this.yAxisForm = { this.yAxisForm = {
'name':'y-axis', 'name':'y-axis',
'onchange': onchange,
'sections': [{ 'sections': [{
// Will need to be repeated for each y-axis, with a // Will need to be repeated for each y-axis, with a
// distinct name for each. Ideally the name of the axis // distinct name for each. Ideally the name of the axis
@ -98,7 +96,6 @@ define(
}; };
this.plotSeriesForm = { this.plotSeriesForm = {
'name':'Series Options', 'name':'Series Options',
'onchange': onchange,
'sections': [ 'sections': [
{ {
rows: [ rows: [

View File

@ -97,8 +97,6 @@ define(
// Set of choices (if any) // Set of choices (if any)
options: "=", options: "=",
ngChange: "&",
// Structure (subtree of Form Structure) // Structure (subtree of Form Structure)
structure: "=", structure: "=",