Skip to content

Commit fa0f643

Browse files
committed
[Bootstrap][htmlModal] rename setDraggable->draggable
see #12
1 parent d2596cc commit fa0f643

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Ajax/bootstrap/html/HtmlModal.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
/**
1010
* Twitter Bootstrap HTML Modal component
1111
* @author jc
12-
* @version 1.001
12+
* @version 1.02
1313
*/
1414
class HtmlModal extends BaseHtml {
15-
protected $title="Titre de ma boîte";
15+
protected $title="HtmlModal Title";
1616
protected $content="";
1717
protected $buttons=array ();
1818
protected $showOnStartup=false;
@@ -183,11 +183,11 @@ public function jsHideButton($index) {
183183
}
184184

185185
/**
186-
* Allow modal to be moved using the mouse.
186+
* Allow modal to be moved using the mouse, on the dialog title.
187187
* needs JQuery UI
188188
* @param boolean $value
189189
*/
190-
public function setDraggable($value) {
190+
public function draggable($value=true) {
191191
$this->draggable=$value;
192192
if ($value) {
193193
$this->backdrop=false;

0 commit comments

Comments
 (0)