Merge branch 'master' of mmka.chem.univ.gda.pl:qcg-portal
[qcg-portal.git] / qcg / templates / qcg / job_submit.html
index 83e9025..0afb982 100644 (file)
@@ -34,7 +34,7 @@
                 return res;
             }
 
-            $('#id_master_file,#id_executable,#id_input,#id_preprocess_script,#id_postprocess_script').before(function() {
+            $('#id_master_file,#id_pdb_file,#id_executable,#id_input,#id_preprocess_script,#id_postprocess_script').before(function() {
                 var target = this;
                 return gridftpButton.clone().click(function() {
                     $('#select-btn').off().click(function() {
@@ -77,7 +77,7 @@
                 });
             }).wrap('<div style="margin-right: 80px"></div>');
 
-            $('#id_application').selectize();
+            $('#id_application,#id_force_field').selectize();
             $('#id_arguments,#id_properties,#id_native').selectize({
                 plugins: ['remove_button'],
                 create: true,
@@ -95,7 +95,9 @@
                     }
                 }
             });
-            $('#id_modules,#id_hosts,#id_master_file,#id_executable,#id_input,#id_stage_in,#id_preprocess_script,#id_postprocess_script').selectize({
+
+            $('#id_modules,#id_hosts,#id_pdb_file,#id_master_file,#id_executable,#id_input,#id_stage_in,#id_preprocess_script,#id_postprocess_script').selectize({
+
                 plugins: ['remove_button']
             });
 
 
             $('#gridftp').one('show.bs.modal', function() {
                 filex.initialLoad();
+                $(this).find('.modal-body').css('height', window.innerHeight - 200 + 'px');
             });
 
             $('#template').on('show.bs.modal', function() {