Sha256: 810fd56fa8dbfc01716b0754bd4e5e07efd9bbc553e4eaa4f454ba8f2c8b641e

Contents?: true

Size: 362 Bytes

Versions: 11

Compression:

Stored size: 362 Bytes

Contents

// A simple function to allow us to automatically submit forms for 
// pushing to other services such as EasyBib and RefWorks.
jQuery(document).ready(function($) {
	submit_external_form();
	// Automatically submit the form.
	function submit_external_form() {
		// Hide the page
		$("body").hide();
		$form = $(".external_form");
		$form.trigger("submit");
	}
});

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
citero_engine-3.0.0.beta app/assets/javascripts/citero_engine/submit_external_form.js
citero_engine-3.0.0.alpha3 app/assets/javascripts/citero_engine/submit_external_form.js
citero_engine-3.0.0.alpha2 app/assets/javascripts/citero_engine/submit_external_form.js
citero_engine-3.0.0.alpha app/assets/javascripts/citero_engine/submit_external_form.js
ex_cite-2.1.0 app/assets/javascripts/ex_cite/submit_external_form.js
ex_cite-2.0.0 app/assets/javascripts/ex_cite/submit_external_form.js
ex_cite-2.0.0.pre.alpha.1 app/assets/javascripts/ex_cite/submit_external_form.js
ex_cite-2.0.0.pre.alpha app/assets/javascripts/ex_cite/submit_external_form.js
ex_cite-1.3.2 app/assets/javascripts/ex_cite/submit_external_form.js
ex_cite-1.3.1 app/assets/javascripts/ex_cite/submit_external_form.js
ex_cite-1.3.0 app/assets/javascripts/ex_cite/submit_external_form.js