Permalink
Browse files

Updated drag drop. Also added iton for initiator

  • Loading branch information...
1 parent bb3117d commit ddef872a6b09e90aff06cad4c53be42b3963c8a8 @mikevalstar committed Feb 8, 2013
Showing with 2 additions and 0 deletions.
  1. BIN htdocs/img/icon_initiator_512.png
  2. +2 −0 htdocs/js/admin.js
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -31,6 +31,8 @@ MV.admin.imageList.prototype = {
$('.dropimglead').on( 'dragenter', function(e) {
e.preventDefault();
$(this).html('Drop Here');
+ }).on( 'dragover', function(e) {
+ // do nothing.. fixes chrome bug
}).on( 'dragleave', function(e) {
e.preventDefault();
$(this).html('Drag a file here to upload');

0 comments on commit ddef872

Please sign in to comment.