HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Last Minute Development
As it turns out, the role permissions was not the problem. I am still unable to see a populated list of options to choose from when clicking the Discussion Prefix dropdown in one of these three categories. For example, when starting a new discussion in my General Game Discussion category I should see Destiny, Call of Duty,… -
Re: Last Minute Development
To my excuse: yes, I've written that messy code but my intention was that it should help a beginner understand what I do. And I have advised him to clean it up and encapsulate the on change action into a function. And the permission have been a problem. I have told you to check that line: var categoryID =… -
Re: Last Minute Development
I've cleaned it up: /** * @param obj target HTML SELECT element to fill * @param int contentID Index of the contentArray * @param mixed contentArray Array of strings that should be filled in the SELECT */function fillSelect(target, contentID, contentArray) { // reset the content of the SELECT target.innerHTML = '<option… -
Re: Last Minute Development
Oh how I hate JavaScript... It took me some time but here are the things that have to be changed. $() != getEmentById() While getEmentById() would have returned one element, the jquery $() selector (var prefixSelect = $('#Form_Prefix');) returns a collection of a elements and you only need the first one. So you have to… -
Re: Last Minute Development
prefixes[forge-maps]=... You have two ways to define an array element: either by using a number prefixes[1]=... or by using a string prefixes['forge-maps']=... (associative array) You can define a variable and use that as an array key var forge-maps = 1;prefixes[forge-maps]=... But you haven't defined forge-maps before…
5 results