Sha256: 8c1f2ba10a78067dc777bc214fe49ff5146e4f1bfa55307786d95439e8c2ecac

Contents?: true

Size: 1.26 KB

Versions: 22

Compression:

Stored size: 1.26 KB

Contents

// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file. JavaScript code in this file should be added after the last require_* statement.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require ish_manager/jquery-3.2.1.min
//= require ish_manager/bootstrap.min
//= require ish_manager/jquery.iframe-transport
//= require ish_manager/jquery.ui.widget
//= require ish_manager/jquery.fileupload
//
// require_tree .
//

$(function () {
  $('#fileupload').fileupload({
    dataType: 'json',
    done: function (e, data) {
      var photos = $('#photos');
      var tempUrl = data.result[0].thumbnail_url;
      $('<img/>').attr('src', tempUrl).appendTo(photos);
    }
  });  
});

$(document).ready(function () {
  $('*[data-confirm]').click(function(){
    return confirm($(this).attr('data-confirm'));
  });
});

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
ish_manager-0.1.8.21 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.20 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.19 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.18 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.16 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.15 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.14 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.13 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.12 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.11 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.10 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.9 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.8 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.7 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.6 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.5 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.4 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.3 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8.2 app/assets/javascripts/ish_manager/application.js
ish_manager-0.1.8 app/assets/javascripts/ish_manager/application.js