Storm, the main SuiteDesk module

This commit is contained in:
Manuel Cillero 2017-07-26 15:05:40 +02:00
parent 82d3282b44
commit bcf9ace539
422 changed files with 62462 additions and 0 deletions

View file

@ -0,0 +1,19 @@
function stormproject_organization_projects(_organization_select, _project_select_id, _with_all_option, _all_text) {
var project_select = $("#" + _project_select_id).get(0);
storm_empty_select(project_select);
var organization_nid = _organization_select.value;
if (!organization_nid) organization_nid=0;
$.ajax({
type: "GET",
async: true,
url: Drupal.settings.storm.organization_projects_url + Drupal.encodeURIComponent(organization_nid),
dataType: "string",
success: function (data) {
var items = Drupal.parseJson(data);
storm_fill_select(project_select, items, _with_all_option, _all_text);
}
});
};