wok rev 19436

zerobin: add download button (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 04 15:58:11 2016 +0200 (2016-10-04)
parents 7a16da2c93b9
children c38559793ba8
files zerobin/stuff/zerobin.u
line diff
     1.1 --- a/zerobin/stuff/zerobin.u	Tue Oct 04 15:33:49 2016 +0200
     1.2 +++ b/zerobin/stuff/zerobin.u	Tue Oct 04 15:58:11 2016 +0200
     1.3 @@ -49,7 +49,7 @@
     1.4       var cipherdata = zeroCipher(randomkey, $('textarea#message').val());
     1.5       var data_to_send = { data:           cipherdata,
     1.6                            expire:         $('select#pasteExpiration').val(),
     1.7 -@@ -416,6 +416,7 @@
     1.8 +@@ -410,6 +416,7 @@
     1.9       $('button#sendbutton').show();
    1.10       $('button#clonebutton').hide();
    1.11       $('button#rawtextbutton').hide();
    1.12 @@ -57,7 +57,7 @@
    1.13       $('div#expiration').show();
    1.14       $('div#remainingtime').hide();
    1.15       $('div#burnafterreadingoption').show();
    1.16 -@@ -444,6 +445,7 @@
    1.17 +@@ -438,6 +445,7 @@
    1.18           $('button#clonebutton').show();
    1.19       }
    1.20       $('button#rawtextbutton').show();
    1.21 @@ -65,7 +65,7 @@
    1.22   
    1.23       $('div#expiration').hide();
    1.24       $('div#burnafterreadingoption').hide();
    1.25 -@@ -463,6 +465,14 @@
    1.26 +@@ -457,6 +465,14 @@
    1.27       var newDoc = document.open('text/html', 'replace');
    1.28       newDoc.write('<pre>'+paste+'</pre>');
    1.29       newDoc.close();