Now all modules are in core modules folder
This commit is contained in:
parent
5ba1cdfa0b
commit
05b6a91b0c
1907 changed files with 0 additions and 0 deletions
19
modules/storm/stormperson/stormperson.js
Normal file
19
modules/storm/stormperson/stormperson.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
function stormperson_organization_people(_organization_select, _person_select_id, _with_all_option, _all_text) {
|
||||
var person_select = $("#" + _person_select_id).get(0);
|
||||
storm_empty_select(person_select);
|
||||
var organization_nid = _organization_select.value;
|
||||
if (!organization_nid) organization_nid=0;
|
||||
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
async: true,
|
||||
url: Drupal.settings.storm.organization_people_url + Drupal.encodeURIComponent(organization_nid),
|
||||
dataType: "string",
|
||||
success: function (data) {
|
||||
var items = Drupal.parseJson(data);
|
||||
storm_fill_select(person_select, items, _with_all_option, _all_text);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Reference in a new issue