mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-01 20:50:38 -04:00
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.
13 lines
465 B
JavaScript
13 lines
465 B
JavaScript
$("#gAddAlbumForm input[name=title]").change(
|
|
function() {
|
|
$("#gAddAlbumForm input[name=name]").attr(
|
|
"value", $("#gAddAlbumForm input[name=title]").attr("value").
|
|
replace(/\s+/g, "_").replace(/\.+$/, ""));
|
|
});
|
|
$("#gAddAlbumForm input[name=title]").keyup(
|
|
function() {
|
|
$("#gAddAlbumForm input[name=name]").attr(
|
|
"value", $("#gAddAlbumForm input[name=title]").attr("value").
|
|
replace(/\s+/g, "_").replace(/\.+$/, ""));
|
|
});
|