Skip to content

Commit

Permalink
Merge branch 'release/releases-1.2.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcLear committed Jan 20, 2013
2 parents 37c55ef + 4b5d993 commit 6b13bfa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.2.6
* Fix: Package file UeberDB reference
* New #users EEJS block for plugins

# 1.2.5
* Create timeslider EEJS blocks for plugins
* Allow for "more messages" to be loaded in chat
Expand Down
2 changes: 1 addition & 1 deletion src/node/db/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ exports.createGroupPad = groupManager.createGroupPad;
/**PADLIST FUNCTION****/
/**********************/

exports.listAllPads = padManager.getPads;
exports.listAllPads = padManager.listAllPads;

/**********************/
/**AUTHOR FUNCTIONS****/
Expand Down
6 changes: 3 additions & 3 deletions src/node/db/PadManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@ exports.getPad = function(id, text, callback)
}
}

exports.getPads = function(callback)
exports.listAllPads = function(callback)
{
if(callback != null){
callback(null,padList.getPads());
callback(null,{padIDs: padList.getPads()});
}else{
return padList.getPads();
return {padIDs: padList.getPads()};
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"require-kernel" : "1.0.5",
"resolve" : "0.2.x",
"socket.io" : "0.9.x",
"ueberDB" : "0.1.x",
"ueberDB" : "0.1.9",
"async" : "0.1.x",
"express" : "3.x",
"connect" : "2.4.x",
Expand Down Expand Up @@ -46,5 +46,5 @@
"engines" : { "node" : ">=0.6.0",
"npm" : ">=1.0"
},
"version" : "1.2.5"
"version" : "1.2.6"
}
2 changes: 2 additions & 0 deletions src/templates/pad.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
</div>

<div id="users">
<% e.begin_block("userlist"); %>
<div id="connectionstatus"></div>
<div id="myuser">
<div id="mycolorpicker">
Expand All @@ -173,6 +174,7 @@
<div id="nootherusers"></div>
</div>
<div id="userlistbuttonarea"></div>
<% e.end_block(); %>
</div>

<div id="editorcontainerbox">
Expand Down

0 comments on commit 6b13bfa

Please sign in to comment.