[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">
<input type="text"
ng-model="textValue"
ng-change="structure.onchange(ngModel[field])"
ng-blur="restoreTextValue(); ngBlur()"
ng-class="{
error: textInvalid ||

View File

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

View File

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

View File

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