mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
Add a 'finish' button which dismisses the dialog and refreshes the current page
This commit is contained in:
@@ -58,4 +58,8 @@ class Simple_Uploader_Controller extends Controller {
|
||||
log::success("content", "Added a photo", html::anchor("photos/$photo->id", "view photo"));
|
||||
}
|
||||
}
|
||||
|
||||
public function finish() {
|
||||
print json_encode(array("result" => "success"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user