forked from bofh/fetsite
testing remotipart
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -93,3 +93,4 @@ gem "seed_dump", "~> 0.5.3"
|
||||
#gem "themes_for_rails" ,:git =>'git://github.com/tkriplean/themes_for_rails.git'
|
||||
#gem "themes_for_rails", :git=> 'git://github.com/lucasefe/themes_for_rails.git'
|
||||
gem 'themes_for_rails'
|
||||
gem 'remotipart', :git =>'git://github.com/JangoSteve/remotipart.git'
|
||||
@@ -25,7 +25,7 @@
|
||||
//= require bootstrap/load-image.min
|
||||
//= require bootstrap/image-gallery.min
|
||||
//= require jquery-fileupload
|
||||
|
||||
//= require jquery.remotipart
|
||||
function insertAttachment(url,name) {
|
||||
var ext = url.split('.').pop().toLowerCase();
|
||||
var img_ext = [ "jpg", "png", "bmp" , "jpeg" ];
|
||||
|
||||
Reference in New Issue
Block a user