Commit 49dd23e4 by mitalcoi

fix to "You don't want to generate model class name if it is already entered."

parent 5fdef858
...@@ -154,7 +154,7 @@ yii.gii = (function ($) { ...@@ -154,7 +154,7 @@ yii.gii = (function ($) {
//model generator: translate table name to model class //model generator: translate table name to model class
$('#generator-tablename').on('blur', function () { $('#generator-tablename').on('blur', function () {
var tableName = $(this).val(); var tableName = $(this).val();
if (tableName && tableName !== '*'){ if ($('#generator-modelclass').val()=='' && tableName && tableName !== '*'){
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: "default/classify", url: "default/classify",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment