Compare commits
	
		
			1 Commits
		
	
	
		
			v9.0.0
			...
			6186b14b16
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 6186b14b16 | 
| @@ -1,7 +1,7 @@ | |||||||
| // ==UserScript== | // ==UserScript== | ||||||
| // @name          3CX TAPI | // @name          3CX TAPI | ||||||
| // @namespace     http://cp-solutions.at | // @namespace     http://cp-solutions.at | ||||||
| // @version       9.0.0 | // @version       9.0.1 | ||||||
| // @author        Daniel Triendl <d.triendl@cp-solutions.at> | // @author        Daniel Triendl <d.triendl@cp-solutions.at> | ||||||
| // @copyright     Copyright 2021 CP Solutions GmbH | // @copyright     Copyright 2021 CP Solutions GmbH | ||||||
| // @source        https://source.cp-austria.at/git/CPATRD/3cx_tapi.git | // @source        https://source.cp-austria.at/git/CPATRD/3cx_tapi.git | ||||||
| @@ -8223,6 +8223,9 @@ class Search { | |||||||
|             if (items.length > 0) { |             if (items.length > 0) { | ||||||
|                 this.dial(items[0].dataset.tapiNumber); |                 this.dial(items[0].dataset.tapiNumber); | ||||||
|             } |             } | ||||||
|  |             else { | ||||||
|  |                 this.dial(document.getElementById('tapiSearchInput').value); | ||||||
|  |             } | ||||||
|             return false; |             return false; | ||||||
|         }; |         }; | ||||||
|         var searchBox = document.createElement('div'); |         var searchBox = document.createElement('div'); | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| { | { | ||||||
|   "name": "3cx-tapi", |   "name": "3cx-tapi", | ||||||
|   "description": "3CX CP Tapi and Projectmanager integration", |   "description": "3CX CP Tapi and Projectmanager integration", | ||||||
|   "version": "9.0.0", |   "version": "9.0.1", | ||||||
|   "author": { |   "author": { | ||||||
|     "name": "Daniel Triendl", |     "name": "Daniel Triendl", | ||||||
|     "email": "d.triendl@cp-solutions.at" |     "email": "d.triendl@cp-solutions.at" | ||||||
|   | |||||||
| @@ -19,6 +19,8 @@ export class Search { | |||||||
|       } |       } | ||||||
|       if (items.length > 0) { |       if (items.length > 0) { | ||||||
|         this.dial((<HTMLElement>items[0]).dataset.tapiNumber) |         this.dial((<HTMLElement>items[0]).dataset.tapiNumber) | ||||||
|  |       } else { | ||||||
|  |         this.dial((<HTMLInputElement>document.getElementById('tapiSearchInput')).value) | ||||||
|       } |       } | ||||||
|  |  | ||||||
|       return false |       return false | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user