mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:17:35 -05:00 
			
		
		
		
	Fix for max file size
This commit is contained in:
		
							parent
							
								
									ced3daf9c6
								
							
						
					
					
						commit
						2cd1517dd6
					
				@ -247,7 +247,7 @@
 | 
			
		||||
                @foreach(trans('texts.dropzone') as $key=>$text)
 | 
			
		||||
    	            "dict{{strval($key)}}":"{{strval($text)}}",
 | 
			
		||||
                @endforeach
 | 
			
		||||
                maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
 | 
			
		||||
                maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
 | 
			
		||||
            });
 | 
			
		||||
            if(dropzone instanceof Dropzone){
 | 
			
		||||
                dropzone.on("addedfile",handleDocumentAdded);
 | 
			
		||||
 | 
			
		||||
@ -996,7 +996,7 @@
 | 
			
		||||
                @foreach(trans('texts.dropzone') as $key=>$text)
 | 
			
		||||
    	            "dict{{strval($key)}}":"{{strval($text)}}",
 | 
			
		||||
                @endforeach
 | 
			
		||||
                maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
 | 
			
		||||
                maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
 | 
			
		||||
            });
 | 
			
		||||
            if(dropzone instanceof Dropzone){
 | 
			
		||||
                dropzone.on("addedfile",handleDocumentAdded);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user