File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -146,16 +146,6 @@ return Backbone.View.extend({
146146 this . model = model ;
147147 } ,
148148
149- getFields : function ( ) {
150- if ( ! this . fields ) {
151- this . fields = Evol . Def . getFields ( this . uiModel , function ( f ) {
152- // todo: allow formula fields & provide value in export
153- return f . type != fts . formula && ( _ . isUndefined ( f . inImport ) || f . inImport ) ;
154- } ) ;
155- }
156- return this . fields ;
157- } ,
158-
159149 getTitle : function ( ) {
160150 //if(this.many){
161151 return i18n . getLabel ( 'import.importMany' , this . uiModel . namePlural ) ;
@@ -268,11 +258,6 @@ return Backbone.View.extend({
268258 getFields : function ( ) {
269259 if ( ! this . _fields ) {
270260 this . _fields = Evol . Def . getFields ( this . uiModel ) ;
271- this . _fieldHash = { } ;
272- var fh = this . _fieldHash ;
273- _ . each ( this . _fields , function ( f ) {
274- fh [ f . id ] = f ;
275- } ) ;
276261 }
277262 return this . _fields ;
278263 }
You can’t perform that action at this time.
0 commit comments