This commit is contained in:
Henry 2016-01-14 15:05:26 -08:00
parent 858aa6146a
commit 6d3b2c716b
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
* at runtime from the About dialog for additional information. * at runtime from the About dialog for additional information.
*****************************************************************************/ *****************************************************************************/
/*global define*/ /*global define*/
/*jshint es5: true */ /*jslint es5: true */
define( define(

View File

@ -65,13 +65,13 @@ define(
// A view is editable unless explicitly flagged as not // A view is editable unless explicitly flagged as not
(views || []).forEach(function (view) { (views || []).forEach(function (view) {
if (view.editable === true || (applicableView(view.key) && editableType(type.getKey()))){ if (view.editable === true || (applicableView(view.key) && editableType(type.getKey()))) {
count++; count++;
} }
}); });
return count; return count;
} };
/** /**
* Checks whether the domain object is currently being edited. If * Checks whether the domain object is currently being edited. If