299299 echo $ aopt_key . ": " . json_encode ($ aopt_val ) . ", " ;
300300 }
301301 ?>
302+
302303 onReady: function() {
303304 hide_animation();
304305 },
311312 url: "ajax_calls.php?action=save_img",
312313 data: { url: newURL, path:$('#sub_folder').val() + $('#fldr_value').val(), name:$('#aviary_img').attr('data-name') }
313314 }).done(function(msg) {
314- featherEditor.close();
315+ console.log(msg);
316+ featherEditor.close();
315317 d = new Date();
316318 $("figure[data-name='" + $('#aviary_img').attr('data-name') + "']").find('img').each(function(){
317319 $(this).attr('src', $(this).attr('src') + "?" + d.getTime());
320322 $(this).attr('data-url', $(this).data('url') + "?" + d.getTime());
321323 });
322324 hide_animation();
323- });
325+ }).error(function(msg) {
326+ console.log(msg); });
324327 return false;
325328 },
326329 onError: function(errorObj) {
327- bootbox.alert (errorObj.message);
330+ console.log (errorObj.message);
328331 hide_animation();
329332 }
330333
331334 });
332335 }
333336 </script>
334337
335- <!-- < script src="js/include.js"></script>-- >
336- <script src="../resources/assets/js/metro.js"></script>
337- <script src="../resources/assets/js/include.js"></script>
338- <script src="../resources/assets/js/custom.js"></script>
338+ < script src="js/include.js"></script>
339+ <!-- <script src="../resources/assets/js/metro.js"></script>
340+ <script src="../resources/assets/js/include.js"></script>
341+ <script src="../resources/assets/js/custom.js"></script>-- >
339342
340343
341344 </head>
@@ -714,23 +717,23 @@ function extensionSort($x, $y) {
714717 if ($ sort_by == "name " ) {
715718 echo ($ descending ) ? "descending " : "ascending " ;
716719 }
717- ?> " href="javascript:void('')" data-sort="name"><?php echo trans ('Filename ' ); ?> </a></div>
720+ ?> " href="javascript:void('')" data-sort="name"><span class="indicator"></span> < ?php echo trans ('Filename ' ); ?> </a></div>
718721 <div class="file-date"><a class="sorter sort-date <?php
719722 if ($ sort_by == "date " ) {
720723 echo ($ descending ) ? "descending " : "ascending " ;
721724 }
722- ?> " href="javascript:void('')" data-sort="date"><?php echo trans ('Date ' ); ?> </a></div>
725+ ?> " href="javascript:void('')" data-sort="date"><span class="indicator"></span> < ?php echo trans ('Date ' ); ?> </a></div>
723726 <div class="file-size"><a class="sorter sort-size <?php
724727 if ($ sort_by == "size " ) {
725728 echo ($ descending ) ? "descending " : "ascending " ;
726729 }
727- ?> " href="javascript:void('')" data-sort="size"><?php echo trans ('Size ' ); ?> </a></div>
730+ ?> " href="javascript:void('')" data-sort="size"><span class="indicator"></span> < ?php echo trans ('Size ' ); ?> </a></div>
728731 <div class='img-dimension'><?php echo trans ('Dimension ' ); ?> </div>
729732 <div class='file-extension'><a class="sorter sort-extension <?php
730733 if ($ sort_by == "extension " ) {
731734 echo ($ descending ) ? "descending " : "ascending " ;
732735 }
733- ?> " href="javascript:void('')" data-sort="extension"><?php echo trans ('Type ' ); ?> </a></div>
736+ ?> " href="javascript:void('')" data-sort="extension"><span class="indicator"></span> < ?php echo trans ('Type ' ); ?> </a></div>
734737 <div class='file-operations'><?php echo trans ('Operations ' ); ?> </div>
735738 </div>
736739 <?php } ?>
@@ -1140,7 +1143,7 @@ function extensionSort($x, $y) {
11401143 <div class="cell" style="margin: auto;float: none;">
11411144 <div class="image-container bordered image-format-hd">
11421145 <div class="frame">
1143- <img id="full-img" src="img/storing_animation. gif" class="" style="margin: auto;">
1146+ <img id="full-img" src="data:image/ gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs= " class="" style="margin: auto;">
11441147 </div>
11451148 </div>
11461149
@@ -1152,9 +1155,13 @@ function extensionSort($x, $y) {
11521155 <!-- lightbox div end -->
11531156
11541157 <!-- loading div start -->
1155- <div id="loading_container" style="display:none;">
1156- <div id="loading" style="background-color:#000; position:fixed; width:100%; height:100%; top:0px; left:0px;z-index:100000"></div>
1157- <img id="loading_animation" src="img/storing_animation.gif" alt="loading" style="z-index:10001; margin-left:-32px; margin-top:-32px; position:fixed; left:50%; top:50%"/>
1158+ <!-- <div id="loading_container" style="display:block;">
1159+ <div id="loading" style="background-color:#000; position:fixed; width:100%; height:100%; top:0px; left:0px;z-index:10000;opacity: .7"></div>
1160+ <div data-role="preloader" data-type="ring" style="margin: auto;z-index:10001;" class="preloader-ring"></div>
1161+ </div>-->
1162+ <div id="loading_container" style="display: none;">
1163+ <div id="loading"></div>
1164+ <div data-role="preloader" data-type="ring" class="preloader-ring"></div>
11581165 </div>
11591166 <!-- loading div end -->
11601167
0 commit comments