This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ bump-ver | |
upd-booster | ||
/zip | ||
/.project | ||
/.settings | ||
/.settings | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* @author Vitaliy Potapov <[email protected]> | ||
* @link https://github.com/vitalets/x-editable-yii | ||
* @copyright Copyright © Vitaliy Potapov 2012 | ||
* @version 1.3.1 | ||
* @version 1.3.2 | ||
*/ | ||
|
||
/** | ||
|
@@ -524,8 +524,8 @@ public function registerClientScript() | |
|
||
//wrap in anonymous function for live update | ||
if($this->liveTarget) { | ||
$script .= "\n $('body').on('ajaxUpdate.editable', function(e){ if(e.target.id == '".$this->liveTarget."') yiiEditable(); });"; | ||
$script = "(function yiiEditable() {\n ".$script."\n}());"; | ||
$script2 = "\n$('body').on('ajaxUpdate.editable',function(e){ if(e.target.id == '".$this->liveTarget."') yiiEditable2(); });"; | ||
$script = "(function yiiEditable() {function yiiEditable2() {\n\t$script\n} $script2 yiiEditable2(); }\n());"; | ||
} | ||
|
||
Yii::app()->getClientScript()->registerScript(__CLASS__ . '-' . $selector, $script); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* @author Vitaliy Potapov <[email protected]> | ||
* @link https://github.com/vitalets/x-editable-yii | ||
* @copyright Copyright © Vitaliy Potapov 2012 | ||
* @version 1.3.1 | ||
* @version 1.3.2 | ||
*/ | ||
|
||
Yii::import('editable.EditableField'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* @author Vitaliy Potapov <[email protected]> | ||
* @link https://github.com/vitalets/x-editable-yii | ||
* @copyright Copyright © Vitaliy Potapov 2012 | ||
* @version 1.3.1 | ||
* @version 1.3.2 | ||
*/ | ||
|
||
class EditableConfig extends CApplicationComponent | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* @author Vitaliy Potapov <[email protected]> | ||
* @link https://github.com/vitalets/x-editable-yii | ||
* @copyright Copyright © Vitaliy Potapov 2012 | ||
* @version 1.3.1 | ||
* @version 1.3.2 | ||
*/ | ||
|
||
Yii::import('editable.EditableField'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* @author Vitaliy Potapov <[email protected]> | ||
* @link https://github.com/vitalets/x-editable-yii | ||
* @copyright Copyright © Vitaliy Potapov 2012 | ||
* @version 1.3.1 | ||
* @version 1.3.2 | ||
*/ | ||
|
||
Yii::import('editable.Editable'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* @author Vitaliy Potapov <[email protected]> | ||
* @link https://github.com/vitalets/x-editable-yii | ||
* @copyright Copyright © Vitaliy Potapov 2012 | ||
* @version 1.3.1 | ||
* @version 1.3.2 | ||
*/ | ||
|
||
/** | ||
|