File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -334,15 +334,14 @@ function defaultParameters() {
334334}
335335
336336function notImp ( ) {
337- bootbox . alert ( 'Not yet implemented!' ) ; ;
337+ notify ( 'Not yet implemented!' ) ;
338338}
339339
340340function notify ( message ) {
341341 bootbox . alert ( message ) ;
342342}
343343
344344function fileView ( file_url , timestamp ) {
345- var rnd = makeRandom ( ) ;
346345 bootbox . dialog ( {
347346 title : lang [ 'title-view' ] ,
348347 message : $ ( '<img>' )
@@ -353,13 +352,3 @@ function fileView(file_url, timestamp) {
353352 backdrop : true
354353 } ) ;
355354}
356-
357- function makeRandom ( ) {
358- var text = '' ;
359- var possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789' ;
360-
361- for ( var i = 0 ; i < 20 ; i ++ ) {
362- text += possible . charAt ( Math . floor ( Math . random ( ) * possible . length ) ) ;
363- }
364- return text ;
365- }
You can’t perform that action at this time.
0 commit comments