mirror of
https://github.com/nasa/openmct.git
synced 2025-04-15 06:56:43 +00:00
[Plot] Fixed jsLint, removed onchange
Removed ngChange from mct-control Removed ng-change
This commit is contained in:
parent
ab1c79f25d
commit
24c750b41e
@ -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 ||
|
||||
|
@ -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;
|
||||
|
@ -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: [
|
||||
|
@ -97,8 +97,6 @@ define(
|
||||
// Set of choices (if any)
|
||||
options: "=",
|
||||
|
||||
ngChange: "&",
|
||||
|
||||
// Structure (subtree of Form Structure)
|
||||
structure: "=",
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user