Skip to content

Commit

Permalink
Removed time-grunt, removed toolbar, added initial check for manageme…
Browse files Browse the repository at this point in the history
…nt when logging in
  • Loading branch information
MentalAtom committed Mar 10, 2014
1 parent 89c062f commit 36c05be
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/dist/EasyTimer.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions assets/dist/src/EasyTimer_Production.js
Original file line number Diff line number Diff line change
Expand Up @@ -17611,6 +17611,10 @@ $(function () {
XIGENTIMER.updateDatePickers();
});

if (user.RoleID === 1 || user.RoleID === 2) {
XIGENTIMER.VIEWMODEL.isProjectManager(true);
}

// Check for a connection
XIGENTIMER.API.pulse();

Expand Down
4 changes: 4 additions & 0 deletions assets/js/procedural.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ $(function () {
XIGENTIMER.updateDatePickers();
});

if (user.RoleID === 1 || user.RoleID === 2) {
XIGENTIMER.VIEWMODEL.isProjectManager(true);
}

// Check for a connection
XIGENTIMER.API.pulse();

Expand Down
1 change: 0 additions & 1 deletion gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports = function(grunt) {
require('time-grunt')(grunt);
require('load-grunt-config')(grunt);
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "https://github.com/XigenBen/Xigen-Timer/issues"
},
"window": {
"toolbar": true,
"toolbar": false,
"title": "Xigen Timer",
"width": 900,
"height": 510,
Expand Down

0 comments on commit 36c05be

Please sign in to comment.