You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
489 B
22 lines
489 B
$(document).ready(function() {
|
|
var form = $('#req-avail-form');
|
|
|
|
form.dialog({
|
|
dialogClass: "white-dlg",
|
|
modal: true,
|
|
autoOpen: false,
|
|
Width: 324,
|
|
resizable: false,
|
|
beforeClose: function(event, ui) {
|
|
clear_form_errors(form);
|
|
}
|
|
});
|
|
});
|
|
|
|
function show_req_avail_form(action) {
|
|
var form = $('#req-avail-form');
|
|
form.attr('action', action);
|
|
form.dialog();
|
|
form.dialog('open');
|
|
return false;
|
|
}
|
|
|