{"action":"opened","issue":{"url":"https://api.github.com/repos/xmassoft/rolsac/issues/628","repository_url":"https://api.github.com/repos/xmassoft/rolsac","labels_url":"https://api.github.com/repos/xmassoft/rolsac/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/xmassoft/rolsac/issues/628/comments","events_url":"https://api.github.com/repos/xmassoft/rolsac/issues/628/events","html_url":"https://github.com/xmassoft/rolsac/issues/628","id":137983672,"number":628,"title":"Idiomes configurats al back (i error javascript a edificis)","user":{"login":"xmassoft","id":8349093,"avatar_url":"https://avatars.githubusercontent.com/u/8349093?v=3","gravatar_id":"","url":"https://api.github.com/users/xmassoft","html_url":"https://github.com/xmassoft","followers_url":"https://api.github.com/users/xmassoft/followers","following_url":"https://api.github.com/users/xmassoft/following{/other_user}","gists_url":"https://api.github.com/users/xmassoft/gists{/gist_id}","starred_url":"https://api.github.com/users/xmassoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmassoft/subscriptions","organizations_url":"https://api.github.com/users/xmassoft/orgs","repos_url":"https://api.github.com/users/xmassoft/repos","events_url":"https://api.github.com/users/xmassoft/events{/privacy}","received_events_url":"https://api.github.com/users/xmassoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xmassoft/rolsac/milestones/2","html_url":"https://github.com/xmassoft/rolsac/milestones/1.1","labels_url":"https://api.github.com/repos/xmassoft/rolsac/milestones/2/labels","id":1611583,"number":2,"title":"1.1","description":"","creator":{"login":"xmassoft","id":8349093,"avatar_url":"https://avatars.githubusercontent.com/u/8349093?v=3","gravatar_id":"","url":"https://api.github.com/users/xmassoft","html_url":"https://github.com/xmassoft","followers_url":"https://api.github.com/users/xmassoft/followers","following_url":"https://api.github.com/users/xmassoft/following{/other_user}","gists_url":"https://api.github.com/users/xmassoft/gists{/gist_id}","starred_url":"https://api.github.com/users/xmassoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmassoft/subscriptions","organizations_url":"https://api.github.com/users/xmassoft/orgs","repos_url":"https://api.github.com/users/xmassoft/repos","events_url":"https://api.github.com/users/xmassoft/events{/privacy}","received_events_url":"https://api.github.com/users/xmassoft/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":109,"state":"open","created_at":"2016-02-29T11:52:06Z","updated_at":"2016-03-02T20:28:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-02T20:28:41Z","updated_at":"2016-03-02T20:28:41Z","closed_at":null,"body":"Numero: 421\nCreació: 2012-10-23 09:03:06.000\nA l'entorn ticmallorca, es produeix un error javascript al seleccionar la fitxa d'un edifici\\.\r\n\r\n&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; // Bloque de pestanyas de idiomas\r\n&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; for \\(var i in idiomas\\) \\{\r\n&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; var idioma = idiomas\\[i\\];\r\n&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; $\\(\"\\#item\\_descripcio\\_\" \\+ idioma\\)\\.val\\(printStringFromNull\\(dada\\_node\\[idioma\\]\\[\"descripcion\"\\]\\)\\);\r\n&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; \\}\r\n&nbps;&nbps;&nbps;&nbps;&nbps;&nbps;&nbps; // Fin bloque de pestanyas de idiomas\r\n\r\nL'error és el següent:\r\n\\[10:55:29\\.185\\] TypeError: dada\\_node\\[idioma\\] is undefined @ \\.\\.\\. tm\\_edifici\\.js:421\r\n\r\nEl problema és que aquí idiomas conté \\['es', 'ca', 'en', 'fr', 'de'\\] quan a ticmallorca els idiomes configurats són \\['es', 'ca'\\]\r\n\r\nAixò pareix estar definit a comun\\.js:\r\nidiomas = \\[\"ca\", \"es\", \"en\", \"fr\", \"de\"\\];\r\n\r\nPerò s'hauria d'agafar de la configuració\\. I només haurien de sortir a totes les pantalles \"pestanyes\" pels idiomes configurats\\.\r\n\r\n\r\n\r\n"}}