Maniphest wireframes

Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
epriestley
2011-02-08 10:53:59 -08:00
parent 3018d44279
commit 6ec5e682f4
42 changed files with 1931 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ class AphrontFormTokenizerControl extends AphrontFormControl {
private $datasource;
private $disableBehavior;
private $limit;
public function setDatasource($datasource) {
$this->datasource = $datasource;
@@ -35,6 +36,11 @@ class AphrontFormTokenizerControl extends AphrontFormControl {
return 'aphront-form-control-tokenizer';
}
public function setLimit($limit) {
$this->limit = $limit;
return $this;
}
protected function renderInput() {
require_celerity_resource('aphront-tokenizer-control-css');
require_celerity_resource('javelin-typeahead-dev');
@@ -70,6 +76,7 @@ class AphrontFormTokenizerControl extends AphrontFormControl {
'id' => $id,
'src' => $this->datasource,
'value' => $values,
'limit' => $this->limit,
));
}
@@ -88,7 +95,6 @@ class AphrontFormTokenizerControl extends AphrontFormControl {
array(
'type' => 'text',
'name' => $this->getName(),
'value' => $this->getValue(),
'disabled' => $this->getDisabled() ? 'disabled' : null,
));
}