Skip to content

Commit

Permalink
Flag private
Browse files Browse the repository at this point in the history
Inclusão da flag private em caráter experimental, pois não está
documentada na API
  • Loading branch information
gavlinski committed Feb 12, 2014
1 parent 4e82e7e commit 88a81f0
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 13 deletions.
7 changes: 7 additions & 0 deletions estilo.css
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,10 @@ a:hover {
margin-left: 2px;
margin-right: 2px;
}
.privateIcon {
background-image: url(img/private.png);
width: 10px;
height: 10px;
margin-left: 2px;
margin-right: 2px;
}
Binary file added img/private.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 23 additions & 13 deletions js/4sq.js
Original file line number Diff line number Diff line change
Expand Up @@ -961,21 +961,20 @@ dojo.addOnLoad(function inicializar() {
subMenu2.addChild(subMenu2Item1);
subMenu2.addChild(new dijit.MenuSeparator);
var subMenu2Item2 = new dijit.MenuItem({
label: "Não existe",
id: "menuItemSinalizarDoesnt_exist",
iconClass: "doesnt_existIcon",
label: "Fechada",
id: "menuItemSinalizarClosed",
iconClass: "closedIcon",
onClick: function() {
//dojo.query("input[name=selecao]:checked").forEach("desabilitarLinha(dijit.byId(item.id).value)");
showDialogComment("doesnt_exist", deCode("não existe"));
showDialogComment("closed", "fechada");
}
});
subMenu2.addChild(subMenu2Item2);
var subMenu2Item3 = new dijit.MenuItem({
label: "Fechada",
id: "menuItemSinalizarClosed",
iconClass: "closedIcon",
label: "Já terminou",
id: "menuItemSinalizarEvent_over",
iconClass: "event_overIcon",
onClick: function() {
showDialogComment("closed", "fechada");
showDialogComment("event_over", deCode("já terminou"));
}
});
subMenu2.addChild(subMenu2Item3);
Expand All @@ -989,14 +988,25 @@ dojo.addOnLoad(function inicializar() {
});
subMenu2.addChild(subMenu2Item4);
var subMenu2Item5 = new dijit.MenuItem({
label: "Já terminou",
id: "menuItemSinalizarEvent_over",
iconClass: "event_overIcon",
label: "Não existe",
id: "menuItemSinalizarDoesnt_exist",
iconClass: "doesnt_existIcon",
onClick: function() {
showDialogComment("event_over", deCode("já terminou"));
//dojo.query("input[name=selecao]:checked").forEach("desabilitarLinha(dijit.byId(item.id).value)");
showDialogComment("doesnt_exist", deCode("não existe"));
}
});
subMenu2.addChild(subMenu2Item5);
subMenu2.addChild(new dijit.MenuSeparator);
var subMenu2Item6 = new dijit.MenuItem({
label: "Particular",
id: "menuItemSinalizarPrivate",
iconClass: "privateIcon",
onClick: function() {
showDialogComment("private", "particular");
}
});
subMenu2.addChild(subMenu2Item6);
var menuItem2 = new dijit.PopupMenuItem({
label: "Sinalizar",
id: "menuSinalizar",
Expand Down

0 comments on commit 88a81f0

Please sign in to comment.