Skip to content

Commit

Permalink
Merge pull request #13 from oat-sa/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jbout authored Sep 16, 2016
2 parents 3904851 + 6a59331 commit ebffe40
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'label' => 'QTI PCI samples',
'description' => '',
'license' => 'GPL-2.0',
'version' => '1.0.0',
'version' => '1.0.1',
'author' => 'Open Assessment Technologies',
'requires' => array('qtiItemPci' => '>=1.0.0'),
'managementRole' => 'http://www.tao.lu/Ontologies/generis.rdf#pciSamplesManager',
Expand Down
6 changes: 6 additions & 0 deletions scripts/update/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,11 @@ public function update($initialVersion) {

$this->setVersion('1.0.0');
}

if($this->isVersion('1.0.0')){
call_user_func(new RegisterPci(), []);
$this->setVersion('1.0.1');
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"typeIdentifier": "textReaderInteraction",
"label": "Text reader",
"description": "The Paging widget combines a scrolling widget with additional paging controls.",
"version": "0.2.0",
"version": "0.2.1",
"author": "Aleh Hutnikau",
"email": "contact@taotesting.com",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ define(
if (!pci.widgetRenderer) {
pci.widgetRenderer = new Renderer({
serial : pci.serial,
$container : this.$container
$container : this.$container,
interaction : pci
});
pci.widgetRenderer.renderAll(pci.properties);
}
Expand Down

0 comments on commit ebffe40

Please sign in to comment.