[Client:Desktop] Fix bug
This commit is contained in:
		
							parent
							
								
									afbdc7ee92
								
							
						
					
					
						commit
						ab8423e2b9
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -61,7 +61,7 @@
 | 
				
			||||||
		this.rename = () => {
 | 
							this.rename = () => {
 | 
				
			||||||
			this.refs.ctx.close();
 | 
								this.refs.ctx.close();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			this.inputDialog('ファイル名の変更', '新しいファイル名を入力してください', this.file.name, name => {
 | 
								inputDialog('ファイル名の変更', '新しいファイル名を入力してください', this.file.name, name => {
 | 
				
			||||||
				this.api('drive/files/update', {
 | 
									this.api('drive/files/update', {
 | 
				
			||||||
					file_id: this.file.id,
 | 
										file_id: this.file.id,
 | 
				
			||||||
					name: name
 | 
										name: name
 | 
				
			||||||
| 
						 | 
					@ -72,7 +72,7 @@
 | 
				
			||||||
		this.copyUrl = () => {
 | 
							this.copyUrl = () => {
 | 
				
			||||||
			copyToClipboard(this.file.url);
 | 
								copyToClipboard(this.file.url);
 | 
				
			||||||
			this.refs.ctx.close();
 | 
								this.refs.ctx.close();
 | 
				
			||||||
			this.dialog('<i class="fa fa-check"></i>コピー完了',
 | 
								dialog('<i class="fa fa-check"></i>コピー完了',
 | 
				
			||||||
				'ファイルのURLをクリップボードにコピーしました', [{
 | 
									'ファイルのURLをクリップボードにコピーしました', [{
 | 
				
			||||||
				text: 'わー'
 | 
									text: 'わー'
 | 
				
			||||||
			}]);
 | 
								}]);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue