@@ -111,6 +111,11 @@ var checkerTable = (function() {
111111 nodej . data ( 'fileId' , fileId ) ;
112112
113113 // Add policy, display and verbosity
114+ if ( fileName . startsWith ( "attachment:" ) ) {
115+ nodej . data ( 'attachment' , "true" ) ;
116+ } else {
117+ nodej . data ( 'attachment' , "false" ) ;
118+ }
114119 nodej . data ( 'policy' , formValues . policy ) ;
115120 nodej . data ( 'policyName' , formValues . policyText ) ;
116121 nodej . data ( 'display' , formValues . display ) ;
@@ -260,7 +265,7 @@ var checkerTable = (function() {
260265 statusCell . success ( statusFileId ) ;
261266
262267 // Implementation and Policy
263- if ( node . data ( 'policy' ) != undefined && node . data ( 'policy' ) !== "-1" && node . data ( 'policy' ) !== - 1 ) {
268+ if ( node . data ( 'policy' ) != undefined && node . data ( 'policy' ) !== "-1" && node . data ( 'policy' ) !== - 1 && node . data ( 'attachment' ) !== "true" ) {
264269 implementationCell . addSpinnerToCell ( statusFileId ) ;
265270 policyCell . addSpinnerToCell ( statusFileId ) ;
266271
@@ -272,7 +277,11 @@ var checkerTable = (function() {
272277
273278 reports . push ( { id : statusFileId , tool : status . tool } ) ;
274279
275- policyCell . emptyWithModal ( statusFileId ) ;
280+ if ( node . data ( 'attachment' ) !== "true" ) {
281+ policyCell . emptyWithModal ( statusFileId ) ;
282+ } else {
283+ policyCell . empty ( statusFileId ) ;
284+ }
276285 }
277286
278287 // MediaInfo
0 commit comments