adding files not commited from previous commit
This commit is contained in:
1 parent
f387139ae1
commit
f73f09ffcf
726 files changed
+129696
No files matched your search
@@ -0,0 +1,38 @@
|
||||
// This is a manifest file that'll be compiled into including all the files listed below.
|
||||
// // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
||||
// // be included in the compiled file accessible from http://example.com/assets/application.js
|
||||
// // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
||||
// // the compiled file.
|
||||
// //
|
||||
// //= require jquery
|
||||
// //= require jquery_ujs
|
||||
|
||||
// Place your application-specific JavaScript functions and classes here
|
||||
// This file is automatically included by javascript_include_tag :defaults
|
||||
|
||||
$(function () {
|
||||
$('#panel_sidebar a, #panel_main a.nav').live('click',
|
||||
function () {
|
||||
$.getScript(this.href);
|
||||
history.pushState(null, document.title, this.href);
|
||||
return false;
|
||||
}
|
||||
);
|
||||
|
||||
$('#panel_main a.reload').live('click',
|
||||
function () {
|
||||
$.getScript(this.href);
|
||||
history.replaceState(null, document.title, this.href);
|
||||
return false;
|
||||
}
|
||||
);
|
||||
|
||||
$('.form').live('submit', function () {
|
||||
$.post(this.action, $(this).serialize(), null, 'script');
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).bind("popstate", function () {
|
||||
$.getScript(location.href);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user