[FIX] web: basic_fields: remove use of a es6 feature

which is not supported by phantomjs.
This commit is contained in:
Aaron Bohy
2017-04-11 19:44:38 +02:00
parent 85f9ae5ef7
commit 7dc9eb51d6
@@ -1314,7 +1314,7 @@ var FieldDomain = AbstractField.extend({
* @private
* @param {integer} [nbRecords=0] - The number of records the domain matches
*/
_replaceContent(nbRecords) {
_replaceContent: function (nbRecords) {
if (this._$content) {
this._$content.remove();
}