if (!multiple && !selectedSet) {
// nothing was selected, we have to insert the undefined item
optionGroups[''].unshift({id:'?', label:'', selected:true});
}
function ngModule($provide) {
$provide.provider('$compile', $CompileProvider).
directive({
...
select: selectDirective,
...
protected function run($routes) {
require_once dirname(__FILE__).'/base/Dloader.php';
spl_autoload_register(array('Dloader', 'controller'));
spl_autoload_register(array('Dloader', 'component'));
spl_autoload_register(array('Dloader', 'base'));
spl_autoload_register(array('Dloader', 'model'));
try {
DRouter::run($routes);
} catch(DException $e) {
$e->responseError();
DRouter::forward('site', 'error', array(
'code' => $e->getCode(),
'message' => $e->getMessage(),
));
}
}