{"action":"created","issue":{"url":"https://api.github.com/repos/swisnl/jQuery-contextMenu/issues/326","labels_url":"https://api.github.com/repos/swisnl/jQuery-contextMenu/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/swisnl/jQuery-contextMenu/issues/326/comments","events_url":"https://api.github.com/repos/swisnl/jQuery-contextMenu/issues/326/events","html_url":"https://github.com/swisnl/jQuery-contextMenu/pull/326","id":122945438,"number":326,"title":"Added support for providing a function as zIndex value in options obj…","user":{"login":"eivindga","id":2804405,"avatar_url":"https://avatars.githubusercontent.com/u/2804405?v=3","gravatar_id":"","url":"https://api.github.com/users/eivindga","html_url":"https://github.com/eivindga","followers_url":"https://api.github.com/users/eivindga/followers","following_url":"https://api.github.com/users/eivindga/following{/other_user}","gists_url":"https://api.github.com/users/eivindga/gists{/gist_id}","starred_url":"https://api.github.com/users/eivindga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eivindga/subscriptions","organizations_url":"https://api.github.com/users/eivindga/orgs","repos_url":"https://api.github.com/users/eivindga/repos","events_url":"https://api.github.com/users/eivindga/events{/privacy}","received_events_url":"https://api.github.com/users/eivindga/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-18T13:06:11Z","updated_at":"2015-12-20T18:49:07Z","closed_at":"2015-12-20T18:43:35Z","pull_request":{"url":"https://api.github.com/repos/swisnl/jQuery-contextMenu/pulls/326","html_url":"https://github.com/swisnl/jQuery-contextMenu/pull/326","diff_url":"https://github.com/swisnl/jQuery-contextMenu/pull/326.diff","patch_url":"https://github.com/swisnl/jQuery-contextMenu/pull/326.patch"},"body":"Use case: \r\n- in applications where you have to calculate a dynamic zIndex, it would be nice to be able to provide a function for calculating the zIndex. \r\n\r\nFor instance if the click target has zIndex 1, and a jquery dialog right below has zIndex 347 (just some variable number), you would like to have the context menu displayed in front of the dialog. "},"comment":{"url":"https://api.github.com/repos/swisnl/jQuery-contextMenu/issues/comments/166146765","html_url":"https://github.com/swisnl/jQuery-contextMenu/pull/326#issuecomment-166146765","issue_url":"https://api.github.com/repos/swisnl/jQuery-contextMenu/issues/326","id":166146765,"user":{"login":"bbrala","id":3294970,"avatar_url":"https://avatars.githubusercontent.com/u/3294970?v=3","gravatar_id":"","url":"https://api.github.com/users/bbrala","html_url":"https://github.com/bbrala","followers_url":"https://api.github.com/users/bbrala/followers","following_url":"https://api.github.com/users/bbrala/following{/other_user}","gists_url":"https://api.github.com/users/bbrala/gists{/gist_id}","starred_url":"https://api.github.com/users/bbrala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbrala/subscriptions","organizations_url":"https://api.github.com/users/bbrala/orgs","repos_url":"https://api.github.com/users/bbrala/repos","events_url":"https://api.github.com/users/bbrala/events{/privacy}","received_events_url":"https://api.github.com/users/bbrala/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T18:49:07Z","updated_at":"2015-12-20T18:49:07Z","body":"I also changed the argument so it gets the same arguments as other callbacks. :)"}}