scratch – Diff between revs 91 and 92

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 91 Rev 92
Line 59... Line 59...
59 <input id="URL" type="text" class="form-control" readonly> 59 <input id="URL" type="text" class="form-control" readonly>
60 <span class="input-group-btn"> 60 <span class="input-group-btn">
61 <button id="copy-url" class="btn btn-default" type="button" data-clipboard-target="#URL" data-toggle="tooltip" data-placement="auto" title="Copy to clipboard."><i class="glyphicon glyphicon-paperclip"></i></button> 61 <button id="copy-url" class="btn btn-default" type="button" data-clipboard-target="#URL" data-toggle="tooltip" data-placement="auto" title="Copy to clipboard."><i class="glyphicon glyphicon-paperclip"></i></button>
62 </span> 62 </span>
63 </div> 63 </div>
-   64 <div class="input-group">
-   65 <input id="deleteURL" type="text" class="form-control" readonly>
-   66 <span class="input-group-btn">
-   67 <button id="delete-url" class="btn btn-default" type="button" data-clipboard-target="#deleteURL"><i class="glyphicon glyphicon-paperclip"></i></button>
-   68 </span>
-   69 </div>
64 </div> 70 </div>
65 </div> 71 </div>
66 <div class="panel-body" id="drawing-panel"> 72 <div class="panel-body" id="drawing-panel">
67 <div id="drawingboard"> 73 <div id="drawingboard">
68 </div> 74 </div>
Line 138... Line 144...
138 .concat("//") 144 .concat("//")
139 .concat(window.location.hostname) 145 .concat(window.location.hostname)
140 .concat("/") 146 .concat("/")
141 .concat(data.hash) 147 .concat(data.hash)
142 ); 148 );
-   149
-   150 $('#deleteURL')
-   151 .val(
-   152 location
-   153 .protocol.concat("//")
-   154 .concat(window.location.hostname)
-   155 .concat("/")
-   156 .concat(data.timestamp)
-   157 .concat("/")
-   158 .concat(data.hash)
-   159 );
143 }); 160 });
144 }); 161 });
Line 145... Line 162...
145 162
146 // Enable the Clipboard button. 163 // Enable the Clipboard button.
-   164 new Clipboard('#copy-url');
Line 147... Line 165...
147 new Clipboard('#copy-url'); 165 new Clipboard('#delete-url');
148 166
149 // Scroll to the panel. 167 // Scroll to the panel.
150 $('html, body').animate({ 168 $('html, body').animate({