umlaut 3.0.0alpha5 → 3.0.0alpha6
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/umlaut/update_html.js +21 -0
- data/app/assets/javascripts/umlaut_ui.js +15 -0
- data/app/helpers/resolve_helper.rb +14 -4
- data/app/views/resolve/api.xml.builder +10 -14
- data/lib/#Untitled-1# +14 -0
- data/lib/umlaut/routes.rb +14 -1
- data/lib/umlaut/version.rb +1 -1
- data/lib/umlaut.rb +12 -9
- data/test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7 +0 -0
- data/test/dummy/tmp/cache/assets/C70/4D0/sprockets%2F034ad2036e623081bd352800786dfe80 +0 -0
- data/test/dummy/tmp/cache/assets/CBB/9C0/sprockets%2F706f28923fb754cad04b9107c89986a1 +31 -0
- data/test/dummy/tmp/cache/assets/CBF/B60/sprockets%2F08ca89671549936265dcb673bf02e36f +0 -0
- data/test/dummy/tmp/cache/assets/CC9/9F0/sprockets%2F306166316e2cafd13c15e62b51a2339d +0 -0
- data/test/dummy/tmp/cache/assets/CF7/2B0/sprockets%2F25a7c73655bd3598173b39d9f98bcd46 +880 -0
- data/test/dummy/tmp/cache/assets/CFE/080/sprockets%2F37fe9f4255baddbd549a659914929398 +0 -0
- data/test/dummy/tmp/cache/assets/D0B/E10/sprockets%2F1444763abc4444a8e129efdb9a43235f +378 -0
- data/test/dummy/tmp/cache/assets/D1F/830/sprockets%2Fe6a7a907a8e9b43780a80fe69a92913d +11773 -0
- data/test/dummy/tmp/cache/assets/D22/060/sprockets%2F9aec77b768e91a802d284271c58e2f7e +21361 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D33/6D0/sprockets%2F500129c57f1146e556ec3aacd6cd38c1 +158 -0
- data/test/dummy/tmp/cache/assets/D50/7B0/sprockets%2F6df95fb9a4189df351c1c88546c84a1d +394 -0
- data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +877 -0
- data/test/dummy/tmp/cache/assets/D69/820/sprockets%2F55a4f1a7c4918d71c0d4fb5b7dd4c055 +9272 -0
- data/test/dummy/tmp/cache/assets/D71/6B0/sprockets%2Fde558b71b494cf09b1bf055c8dff0353 +53 -0
- data/test/dummy/tmp/cache/assets/D72/610/sprockets%2Fa8c708eeb30ef93de34d755d4f45d023 +864 -0
- data/test/dummy/tmp/cache/assets/D76/AD0/sprockets%2Fe2158cde93188cf5ab6457bc6d6602ec +41 -0
- data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +21744 -0
- data/test/dummy/tmp/cache/assets/D9B/770/sprockets%2F8aacf02eb7dbb0949704b28f27b87e0b +39 -0
- data/test/dummy/tmp/cache/assets/DD0/140/sprockets%2F1656d1d8f4c13fe42aff6553c6cdcda7 +11789 -0
- data/test/dummy/tmp/cache/assets/DE8/790/sprockets%2Fd1333bde2b9aafcc712d11dd09ab35d8 +0 -0
- data/test/dummy/tmp/cache/assets/DF1/AA0/sprockets%2Fedd37b0fdb6157fccb2297a8a10acc90 +9288 -0
- data/test/dummy/tmp/cache/assets/E03/570/sprockets%2F493bdc0ac14cd4f57fdfe4253f992bde +14 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E5F/960/sprockets%2Fdc007b6cad5c7ef08e33ec28cfff0ef6 +0 -0
- metadata +200 -98
- data/test/dummy/config/database-jhu.yml +0 -44
- data/test/dummy/config/database.yml +0 -53
@@ -0,0 +1,41 @@
|
|
1
|
+
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1325695617.9639308:@value{ I"length:EFi�I"digest;
|
2
|
+
F"%1a1558bd0b57f4f7174781c1a7ce760aI"source;
|
3
|
+
FI"�/* ajax_windows.js. Support for modal popup windows in Umlaut items. */
|
4
|
+
|
5
|
+
jQuery(document).ready(function($) {
|
6
|
+
|
7
|
+
var shared_modal_d = $("<div></div>").dialog({autoOpen: false, modal: true, width: "400px"}) ;
|
8
|
+
|
9
|
+
$("a.ajax_window").live("click", function(event) {
|
10
|
+
|
11
|
+
$(shared_modal_d).load( this.href, function() {
|
12
|
+
var heading = shared_modal_d.find("h1, h2, h3, h4, h5, h6").eq(0).remove();
|
13
|
+
$(shared_modal_d).dialog("option", "title", heading.text());
|
14
|
+
$(shared_modal_d).dialog("open");
|
15
|
+
});
|
16
|
+
return false;
|
17
|
+
});
|
18
|
+
|
19
|
+
function ajax_form_catch(event) {
|
20
|
+
$(shared_modal_d).load( $(event.target).closest("form").attr("action"), $(event.target).closest("form").serialize(), function() {
|
21
|
+
var heading = shared_modal_d.find("h1, h2, h3, h4, h5, h6").eq(0).remove();
|
22
|
+
$(shared_modal_d).dialog("option", "title", heading.text());
|
23
|
+
$(shared_modal_d).dialog("open");
|
24
|
+
|
25
|
+
});
|
26
|
+
return false;
|
27
|
+
}
|
28
|
+
|
29
|
+
//Trapping two events, click on the submit button or submit on the form
|
30
|
+
//is strangely needed in IE7 to trap both return-in-field submits
|
31
|
+
//and click-on-button submits. In FF just the second "submit" version
|
32
|
+
//is sufficient.
|
33
|
+
$("form.modal_dialog_form input[type=submit]").live("click", ajax_form_catch );
|
34
|
+
$("form.modal_dialog_form").live( "submit", ajax_form_catch);
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
});
|
39
|
+
;
|
40
|
+
FI"
|
41
|
+
F"%caaa505d5aa59fecfc5ff3a13ad6ee2d
|