Skip to content

Commit

Permalink
remove time and watch displays on newMeasure and newAccuracy page #58
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Jan 31, 2016
1 parent 09b1457 commit eb28986
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
12 changes: 3 additions & 9 deletions application/controllers/Measures.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,7 @@ public function new_measure() {

$this->event->add(MEASURE_LOAD);

array_push($this->_headerData['javaScripts'], "watch.animation",
"time",
"input.time.logic"
);
array_push($this->_headerData['javaScripts'], "input.time.logic");

$this->_headerData['headerClass'] = 'blue';
$this->load->view('header', $this->_headerData);
Expand Down Expand Up @@ -242,11 +239,8 @@ public function get_accuracy() {

$this->event->add(ACCURACY_LOAD);

$this->_headerData['headerClass'] = 'blue';
array_push($this->_headerData['javaScripts'], "watch.animation",
"time",
"input.time.logic"
);
array_push($this->_headerData['javaScripts'], "input.time.logic");

$this->load->view('header', $this->_headerData);

$this->_bodyData['selectedWatch'] = $this->watch->getWatch($this->input->post('watchId'));
Expand Down
2 changes: 0 additions & 2 deletions application/views/measure/get-accuracy.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,4 @@ class="btn btn-primary btn-lg">
</div>
</div>
<img style="display:none" id="watch" src="<?php echo img_url('flatwatch-blank.png');?>">

<?php $this->load->view("time");?>
</div>
1 change: 0 additions & 1 deletion application/views/measure/new-measure.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ class="btn btn-primary btn-lg">
</form>
</div>
</div>
<?php $this->load->view("time");?>
</div>

0 comments on commit eb28986

Please sign in to comment.